Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#282 closed enhancement (fixed)

Customized scrollbar navigation

Reported by: Andreas Falkenhahn Owned by: Thore Böckelmann
Priority: normal Milestone: 4.0-2016R1
Component: Scrollbar.mui Version: 4.0-nightly build
Severity: minor Keywords:
Cc: OS Platform: All
Blocked By: Blocking:
Release Notes:

Added the new attribute MUIA_Scrollbar_IncDecSize to define the amount by which the scrollbar's position is increased or decreased whenever one of the arrow buttons is clicked.

Description

When you press one of the buttons of a ScrollbarObject, it always moves by only 1 unit. This can be bothersome when dealing with scrollbars which navigate through thousands of units. It would be good if this value could be customized so that you could set it to 10 or something. In that case pressing a button would move the scrollbar by 10 units. Or is this already possible and I've overlooked something?

Change History (6)

comment:1 Changed 3 years ago by Thore Böckelmann

No, currently this is hard coded to be just 1.

However, it is quite simple to make this adjustable by an application.

comment:2 Changed 3 years ago by Thore Böckelmann

Owner: set to Thore Böckelmann
Resolution: fixed
Status: newclosed

In 5074:

  • Scrollbar.c: added the new attribute MUIA_Scrollbar_StepSize to define the amount by which the scrollbar's position is increased or decreased whenever one of the arrow buttons is clicked. This closes #282.
Version 0, edited 3 years ago by Thore Böckelmann (next)

comment:3 Changed 3 years ago by Thore Böckelmann

I had to rename the new attribute to MUIA_Scrollbar_IncDecSize to avoid an internal hash collision.

comment:4 Changed 3 years ago by Thore Böckelmann

Milestone: future release4.0-2016R1
Priority: undecidednormal

comment:5 Changed 3 years ago by Thore Böckelmann

Release Notes: modified (diff)

comment:6 Changed 3 years ago by Thore Böckelmann

Release Notes: modified (diff)
Note: See TracTickets for help on using tickets.