Ticket #399 (Fixed)Wed Dec 03 20:26:44 UTC 2014
Menu shortcuts misplaced if the menu has a scroll bar
Reported by: | Rick Murray (539) | Severity: | Minor |
Part: | RISC OS: Module | Release: | |
Milestone: | Status | Fixed |
Details by Rick Murray (539):
The Wimp will detect certain keywords at the end of menu entries and will right-align them to be clearly visible as keyboard shortcuts.
This does not work if the menu is larger than the screen (so gains a vertical scroll bar). There is a strange white margin alongside the scroll bar. It looks as if the shortcut plotting is using the entire menu width (including scrollbar) to calculate the alignment position, instead of using only the visible area (excepting the scrollbar); and the right hand margin clipping is chopping off the end of the text.
To get it to happen, create a menu with the following entries:
Item here!
Shortcut Up
Item here!
Shortcut Return
and repeat those four some 15-20 times to be certain that the menu will be taller than the screen and thus require a scrollbar.
Then display the menu.
There is an image of this at http://www.heyrick.co.uk/random/pics/menufail.png
Changelog:
Modified by Sprow (202) Fri, September 16 2016 - 08:30:11 GMT
- Status changed from Open to Fixed
Fixed in Wimp-5_55.