Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#9104 closed bug (fixed)

Scroll bar arrows aren't aligned properly

Reported by: jessicah Owned by: stippi
Priority: normal Milestone: R1
Component: User Interface Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


The scroll bar arrows aren't aligned properly, so end up looking unbalanced.

Also, whilst fixing the arrows, it would be nice to see the BeOS style arrows make a comeback! Especially the double-arrows.

Attachments (1)

arrows.png (6.1 KB ) - added by jscipione 8 years ago.
image showing current scrollbar arrows

Download all attachments as: .zip

Change History (6)

comment:1 by diver, 8 years ago

Could you attach a screenshot showing this issue? BTW, you can already enable double-arrows in the Appearance preflet.

by jscipione, 8 years ago

Attachment: arrows.png added

image showing current scrollbar arrows

comment:2 by leavengood, 8 years ago

To my eye it looks like the down and right arrows are misaligned. Moving them by 1 pixel seems to fix the issue (I did it in a graphics editor.) The code to change is here:

I think adding 1 to r.left for ARROW_RIGHT for all the tri variables will fix the right arrow, and adding 1 to all the for the default case will fix the down arrow.

If no one makes this fix before I get a chance I'll do it. If someone does try to fix it, be sure to test with the double arrows too.

comment:3 by leavengood, 8 years ago

My suggested fix works perfectly, accept for the fact that there is FakeScrollbar within the Appearance preflet, with the exact same freaking code.

Since WebPositive also needs to render scrollbar arrows we need to move the code into ControlLook.

comment:4 by leavengood, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev45334.

Note: See TracTickets for help on using tickets.