Ticket #10045 (new Patch - Feature)
Opened 20 months ago
Prevent looping in button list when less than three buttons
|Reported by:||Xavier Hervy <xavier.hervy@…>||Owned by:||stuartm|
|Component:||MythTV - User Interface Library||Version:||Master Head|
This patch intend to improve the usability of mythtv. Basically when the user reach the last/first element in a MythUIButtonList, MoveDown/MoveUp? select the first/last button in the list. This behaviour is fine when there is more than 2 items. However when there is only 2 items in the list It can be hard for the user to know which one is selected vs which one is not (theme dependant).
This patch disable this behaviour when there is less than 3 buttons. MoveDown/MoveUp? will stay on the last/first Button when the is less than 3 buttons in the list.