[haiku-bugs] Re: [Haiku] #5678: BScrollView::MinSize() doesn't account for scroll bar components

  • From: "yourpalal" <trac@xxxxxxxxxxxx>
  • Date: Sun, 04 Apr 2010 18:12:26 -0000

#5678: BScrollView::MinSize() doesn't account for scroll bar components
--------------------------------+-------------------------------------------
 Reporter:  yourpalal           |       Owner:  axeld         
     Type:  bug                 |      Status:  new           
 Priority:  normal              |   Milestone:  R1            
Component:  Kits/Interface Kit  |     Version:  R1/Development
 Keywords:                      |   Blockedby:                
 Platform:  All                 |    Blocking:                
--------------------------------+-------------------------------------------

Comment(by yourpalal):

 First of all, I agree that my patch should not be applied, but, when I
 built with that patch applied locally, it did fix the problem where I'm
 working. However, it does not take into account whether or not
 fTarget->MaxSize() < size. I.e. the scroll view could end up with more
 room than it knows what to do with. Maybe the scroll view should just be
 drawn differently when there is not enough size to draw both arrows and
 the slider.
 Anyway, this is really easy to work around wherever it occurs, so this
 isn't urgent. Perhaps this should be marked invalid, if the current
 behaviour is deemed to be okay. Well, anyway, I'm going to stop replying
 to myself now.. :D

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

Other related posts: