#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
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------------+------------------------------
https://github.com/KapiX/Koder/commit/c592c06a4bfd81aefd21007b60d913b318f7fde4
Relevant excerpt:
{{{#!cpp
.AddGrid(0.0f, 0.0f)
.Add(fMatchCaseCB, 0, 0)
.Add(fRegexCB, 1, 0)
.Add(fBackwardsCB, 2, 0)
.Add(fMatchWordCB, 0, 1)
.Add(fInSelectionCB, 1, 1)
.Add(fWrapAroundCB, 2, 1)
// .SetExplicitMaxSize(BSize(B_SIZE_UNSET, 50)) // doesn't work
.End()
}}}
Layout with checkboxes in Find/Replace window should have static height
and be glued to the bottom of the window. The only resizable components
should be text boxes.
No matter what I tried (GroupLayout, GridLayout), it always changed
height.
--
Ticket URL: <https://dev.haiku-os.org/ticket/14858>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.