[haiku-bugs] Re: [Haiku] #14858: Layouts do not respect vertical MaxSize setting

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 27 Jan 2019 20:03:32 -0000

#14858: Layouts do not respect vertical MaxSize setting
----------------------------------+----------------------------
   Reporter:  KapiX               |      Owner:  nobody
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by waddlesplash):

 Try calling SetExplicitMaxSize on the BView instead of the BGridLayout. It
 seems the
 [http://xref.plausible.coop/source/xref/haiku/src/kits/interface/View.cpp#5196
 BView version] sets fLayoutData->fMaxSize, whereas the
 
[http://xref.plausible.coop/source/xref/haiku/src/kits/interface/AbstractLayout.cpp#331
 BLayout version] goes through some sort of a proxy.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14858#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: