[haiku-bugs] Re: [Haiku] #9104: Scroll bar arrows aren't aligned properly

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Fri, 01 Mar 2013 06:05:36 -0000

#9104: Scroll bar arrows aren't aligned properly
------------------------------+----------------------------
   Reporter:  jessicah        |      Owner:  stippi
       Type:  bug             |     Status:  new
   Priority:  normal          |  Milestone:  R1
  Component:  User Interface  |    Version:  R1/Development
 Resolution:                  |   Keywords:
 Blocked By:                  |   Blocking:
Has a Patch:  0               |   Platform:  All
------------------------------+----------------------------

Comment (by leavengood):

 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:

 http://cgit.haiku-os.org/haiku/tree/src/kits/interface/ScrollBar.cpp#n1799

 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 r.top 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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9104#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: