Ticket #687 (new defect)

Opened 3 years ago

Last modified 20 months ago

Guichan mouse wheel only scrolls ScrollArea vertical only

Reported by: chewie Owned by: FIFE
Priority: normal Milestone: 0.3.5
Component: engine/core/gui Version: trunk
Severity: normal Keywords: guichan, mouseWheel, ScrollArea, scrollbar, scroling, ObjectSelector, FIFedit, vertical, horizontal
Cc: Blocked By:
Blocking: Time planned:
Time remaining: Time spent:

Description

ScrollArea? widgets can be configured to show / hide the scrollbars for vertical and horizontal scrolling.. It would be nice if guichan uses this setting to decide which orientation should have the priority on MouseWheel? events.

For now, guichan only scrolls in y direction.

A possible solution would be either evaluate the setting for the ScrollAreas? scrollbars or to check the widget's size (e.g. if x > y -> scroll horizontal)

Usecase / Example:

  • use the ObjectSelector? in FIFedit and dock it to the bottom dockarea; the plugin will re-align to a horizontal layout. On browsing the assets via mouseWheel, you can't reach all the assets without using the scrollbar (whereas in vertical mode, you can use the mouseWheel)

Change History

comment:1 Changed 20 months ago by prock

  • Milestone changed from Proposal to 0.3.5
Note: See TracTickets for help on using tickets.