[haiku-bugs] Re: [Haiku] #9857: BMenufields behaving strangely

  • From: "jscipione" <trac@xxxxxxxxxxxx>
  • Date: Mon, 08 Jul 2013 19:34:25 -0000

#9857: BMenufields behaving strangely
-------------------------+-------------------------
   Reporter:  scanty     |      Owner:  nobody
       Type:  bug        |     Status:  closed
   Priority:  normal     |  Milestone:  R1
  Component:  - General  |    Version:  R1/alpha4.1
 Resolution:  invalid    |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+-------------------------

Comment (by jscipione):

 The reason that this might have worked before is that in http://cgit
 .haiku-os.org/haiku/commit/?id=9af9f51 fixed sized BMenuFields were
 changed to not be resized in the constructor. This was done in the name of
 BeOS R5 compatibility and it makes sense that if you are using a fixed
 size menu field you should have direct control over the width and height
 of the menu field based on the frame rectangle you specify.

 So you need to fix the code on your end and get the sizes and positions of
 the frame rectangles right.

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

Other related posts: