diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/FilePickerDialog.gml')
-rw-r--r-- | Userland/Libraries/LibGUI/FilePickerDialog.gml | 99 |
1 files changed, 66 insertions, 33 deletions
diff --git a/Userland/Libraries/LibGUI/FilePickerDialog.gml b/Userland/Libraries/LibGUI/FilePickerDialog.gml index 1c02195230..48492e128b 100644 --- a/Userland/Libraries/LibGUI/FilePickerDialog.gml +++ b/Userland/Libraries/LibGUI/FilePickerDialog.gml @@ -1,73 +1,106 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { + layout: @GUI::HorizontalBoxLayout { margins: [4, 4, 4, 4] } @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { + layout: @GUI::VerticalBoxLayout { + margins: [4, 4, 4, 4] } - @GUI::TextBox { - name: "location_textbox" + @GUI::Label { + text: "Look in:" + text_alignment: "CenterRight" + fixed_height: 24 } - @GUI::ToolBar { - name: "toolbar" - } - } + @GUI::Frame { + name: "common_locations_frame" + fixed_width: 80 + fill_with_background_color: true - @GUI::MultiView { - name: "view" + layout: @GUI::VerticalBoxLayout { + margins: [2, 4, 2, 4] + spacing: 0 + } + } } @GUI::Widget { - shrink_to_fit: true - layout: @GUI::VerticalBoxLayout { + margins: [4, 4, 4, 4] } @GUI::Widget { - fixed_height: 24 - layout: @GUI::HorizontalBoxLayout { - } + shrink_to_fit: true - @GUI::Label { - text: "File name:" - text_alignment: "CenterLeft" - fixed_width:80 + layout: @GUI::HorizontalBoxLayout { } @GUI::TextBox { - name: "filename_textbox" + name: "location_textbox" } - @GUI::Widget { - fixed_width: 20 + @GUI::ToolBar { + name: "toolbar" } + } - @GUI::Button { - name: "ok_button" - text: "OK" - fixed_width: 75 - } + @GUI::MultiView { + name: "view" } + @GUI::Widget { - fixed_height: 24 + shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { + layout: @GUI::VerticalBoxLayout { } @GUI::Widget { + fixed_height: 24 + + layout: @GUI::HorizontalBoxLayout { + } + + @GUI::Label { + text: "File name:" + text_alignment: "CenterLeft" + fixed_width: 80 + } + + @GUI::TextBox { + name: "filename_textbox" + } + + @GUI::Widget { + fixed_width: 20 + } + + @GUI::Button { + name: "ok_button" + text: "OK" + fixed_width: 75 + } } - @GUI::Button { - name: "cancel_button" - text: "Cancel" - fixed_width: 75 + @GUI::Widget { + fixed_height: 24 + + layout: @GUI::HorizontalBoxLayout { + } + + @GUI::Widget { + } + + @GUI::Button { + name: "cancel_button" + text: "Cancel" + fixed_width: 75 + } } } } |