ladybird/Userland/Applications/Help/HelpWindow.gml
thankyouverycool a808cfa75c LibGUI+Applications: Govern Splitter resizing by opportunistic growth
This patch replaces the concept of fixed resizees with opportunistic
ones which use the new SpecialDimension::OpportunisticGrow UISize.
This lets us simplify splitter resize code and take advantage of
the layout system's automatic calculations for minimum size and
expansion. Functionally the same as before, but fixes Splitter's
unintended ability to grow window size.
2022-08-05 13:54:18 +02:00

52 lines
1.1 KiB
Text

@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
spacing: 2
}
@GUI::ToolbarContainer {
@GUI::Toolbar {
name: "toolbar"
}
}
@GUI::HorizontalSplitter {
layout: @GUI::HorizontalBoxLayout {
spacing: 4
}
@GUI::TabWidget {
name: "tab_widget"
preferred_width: 200
container_margins: [6]
@GUI::TreeView {
name: "browse_view"
title: "Browse"
}
@GUI::Widget {
name: "search_container"
title: "Search"
layout: @GUI::VerticalBoxLayout {}
@GUI::TextBox {
name: "search_box"
placeholder: "Search"
}
@GUI::ListView {
name: "search_view"
}
}
}
@WebView::OutOfProcessWebView {
name: "web_view"
}
}
@GUI::Statusbar {
name: "statusbar"
}
}