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

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Mon, 05 Apr 2010 09:41:16 -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 stippi):

 You are right of course and now I understand what the problem with the
 original code is. I would need to read it again in order to see if using
 _ComputeFrame() for MinSize() is suitable at all. In another words the
 question is also if the non-layouted mode needs fixing too, I am guessing
 that's the case. Otherwise your patch, with the added handling of the
 frame width, would be fine.

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

Other related posts: