Community
Participate
Working Groups
I styled a scrollbar and noticed that the ScrollBar-DownButton-Icon and ScrollBar-UpButton-Icon are mistaken. This only effects the vertical style. I think this will confuse most of the users and need to be fixed for 1.4.
By UpButton and DownButton we mean a button to increase and decrease the value, but not the position on the screen. Maybe better naming will be IncreaseButton and DecreaseButton, but it's too late to change it for 1.4. More over we have the same naming in Slider as well. Strange enough, in SWT (same in RAP) in vertical ScrollBar/Slider the smaller value is on the top.
As the theming documentation says: ScrollBar-DownButton = "The button for decreasing selection value" ScrollBar-UpButton = "The button for increasing selection value"
Maybe ScrollBar-LeftButton-Icon and ScrollBar-RightButton-Icon would have been a better choice. Now you have to use ScrollBar-UpButton-Icon[HORIZONTAL] and ScrollBar-DownButton-Icon[HORIZONTAL] instead. I think the idea was that "up" and "down" refers to the value of the scrollbar, not the direction, plus to keep the names aligned with other widgets, such as Slider. I agree it's confusing, but at least there is no functional defect. If you don't object, I would tend to close this bug.
What happens if the language is not a left-right-written language? In textfields this would switch the decrease/increase-direction and the icons would end up on the wrong side. Or doesn't it work that way?
(In reply to comment #3) > I agree it's confusing, but at least there is no functional defect. If you don't > object, I would tend to close this bug. I will close this bug as suggested.