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

  • From: "yourpalal" <trac@xxxxxxxxxxxx>
  • Date: Sun, 04 Apr 2010 10:08:17 -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):

 The problem is that adding just B_V_SCROLLBAR_WIDTH and|or
 B_H_SCROLLBAR_HEIGHT does not (as far as I can tell) accommodate for the
 extra height on a vertical bar, or width on a horizontal bar. As for a
 test case, I noticed this while working on the FileTypes preflet, which I
 am re-writing with the Layout API. I can upload my current work on that
 and directions to reproduce the bug, or write a little test program. I see
 I did forget about the border in this patch, good catch!

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

Other related posts: