Opened 4 years ago

Closed 4 months ago

#7123 closed defect (fixed)

GUI: Tab scroll buttons should be disabled when they have no effect

Reported by: salty-horse Owned by: sev-
Priority: low Component: GUI
Keywords: Cc:
Game:

Description

When the tab widget has too many tabs than can be displayed on screen, scroll buttons ("") are added to it. For an example, click the "Options" button in the launcher, when using a low-enough resolution.

The scroll buttons scroll the visible tabs. When the tab "list" is on the right/left edge, the right/left button is clickable, but does nothing. It should be disabled instead of being clickable.

Ticket imported from: bugs/7123.

Change History (3)

comment:1 by sev-, 3 years ago

Component: GUI

comment:2 by aryanrawlani28, 4 months ago

I've tried to fix this issue here: https://github.com/scummvm/scummvm/pull/2159

It simply sets edge scroll buttons invisible, and the left button invisible at the start since you start from the extreme left.

comment:3 by sev-, 4 months ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

Fixed in 86ac3aeafc3dcd3bca073fc7f9f07caf48f53692 Thanks, aryanrawlani28

Note: See TracTickets for help on using tickets.