mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
LibGUI: Use new layout system in FilePickerDialog
This commit is contained in:
parent
a6ec2b9d0a
commit
1d6d074536
Notes:
sideshowbarker
2024-07-17 09:54:09 +09:00
Author: https://github.com/frhun Commit: https://github.com/SerenityOS/serenity/commit/1d6d074536 Pull-request: https://github.com/SerenityOS/serenity/pull/14261 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/MacDue Reviewed-by: https://github.com/mjz19910
1 changed files with 7 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
shrink_to_fit: true
|
||||
preferred_width: 103
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [0, 4]
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
@GUI::Tray {
|
||||
name: "common_locations_tray"
|
||||
fixed_width: 95
|
||||
min_width: 60
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
|
@ -37,15 +37,18 @@
|
|||
layout: @GUI::VerticalBoxLayout {}
|
||||
|
||||
@GUI::Widget {
|
||||
shrink_to_fit: true
|
||||
preferred_height: "fit"
|
||||
layout: @GUI::HorizontalBoxLayout {}
|
||||
|
||||
@GUI::TextBox {
|
||||
name: "location_textbox"
|
||||
preferred_width: "opportunistic_grow"
|
||||
min_width: 80
|
||||
}
|
||||
|
||||
@GUI::Toolbar {
|
||||
name: "toolbar"
|
||||
preferred_width: "shrink"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -54,7 +57,7 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
shrink_to_fit: true
|
||||
preferred_height: "fit"
|
||||
layout: @GUI::VerticalBoxLayout {}
|
||||
|
||||
@GUI::Widget {
|
||||
|
|
Loading…
Add table
Reference in a new issue