[haiku-bugs] [Haiku] #7902: BSplitView - ItemWeight

  • From: "cipri" <trac@xxxxxxxxxxxx>
  • Date: Mon, 08 Aug 2011 23:05:33 -0000

#7902: BSplitView - ItemWeight
--------------------------------+-------------------------
 Reporter:  cipri               |        Owner:  axeld
     Type:  bug                 |       Status:  new
 Priority:  normal              |    Milestone:  R1
Component:  Kits/Interface Kit  |      Version:  R1/alpha3
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+-------------------------
 I use in my game collapsible BSplitView's. The user can  resize "collapse"
 the splitters, but I can not collapse the splitter with code.
 Setting the ItemWeight to 0, should collapse the splitter, but instead
 Item get's the same Weight as the other item of the splitter.
 And when an Item is collapsed, and i call ItemWeight, i get the  weight of
 the splitter just before collapsing. Instead I should get 0.
 My problem is the following. I want that my gui saves the current state of
 the layout, and when the game is started again, it should restore to the
 values before closing the game.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7902>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: