[haiku-bugs] Re: [Haiku] #9882: Odd BGridLayout behavior

  • From: "yourpalal" <trac@xxxxxxxxxxxx>
  • Date: Sun, 21 Jul 2013 22:53:05 -0000

#9882: Odd BGridLayout behavior
----------------------------------+----------------------------
   Reporter:  anevilyak           |      Owner:  yourpalal
       Type:  bug                 |     Status:  in-progress
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by yourpalal):

 The reason row 1 (Placement menu field) isn't reacting appears to be an
 invalidation bug. If you adjust the value of the placement dropdown, the
 menu will often move into the correct position, aligned with row 0's image
 menu.

 The invalidation bug is hiding a simple layout bug produced by the change
 to BCheckBox: although the menubars have infinite max width, the column
 width is being set by either:

  1. the min width of the column (eg. the width of the default "HAIKU logo
 - white on blue - big.png" value) or
  2. width of the checkbox

 By adding a third column which contains the menubars, but not the
 checkbox, we can avoid this problem.

 I've got a fix for this ticket committed locally, but I'm going to look
 into the invalidation bug before pushing.

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

Other related posts: