Serenity Operating System
at master 96 lines 2.2 kB view raw
1@GUI::Widget { 2 fill_with_background_color: true 3 layout: @GUI::HorizontalBoxLayout { 4 margins: [4] 5 spacing: 3 6 } 7 8 @GUI::Widget { 9 preferred_width: 103 10 layout: @GUI::VerticalBoxLayout { 11 margins: [0, 4] 12 } 13 14 @GUI::Label { 15 text: "Look in:" 16 text_alignment: "CenterRight" 17 fixed_height: 24 18 } 19 20 @GUI::Tray { 21 name: "common_locations_tray" 22 min_width: 60 23 } 24 25 @GUI::Label { 26 text: "Filename:" 27 text_alignment: "CenterRight" 28 fixed_height: 22 29 } 30 31 @GUI::Label { 32 name: "allowed_file_types_label" 33 text: "Files of Type:" 34 text_alignment: "CenterRight" 35 fixed_height: 22 36 } 37 } 38 39 @GUI::Widget { 40 layout: @GUI::VerticalBoxLayout {} 41 42 @GUI::Widget { 43 preferred_height: "fit" 44 layout: @GUI::HorizontalBoxLayout {} 45 46 @GUI::TextBox { 47 name: "location_textbox" 48 preferred_width: "opportunistic_grow" 49 min_width: 80 50 } 51 52 @GUI::Toolbar { 53 name: "toolbar" 54 preferred_width: "shrink" 55 } 56 } 57 58 @GUI::MultiView { 59 name: "view" 60 } 61 62 @GUI::Widget { 63 preferred_height: "fit" 64 layout: @GUI::VerticalBoxLayout {} 65 66 @GUI::Widget { 67 fixed_height: 22 68 layout: @GUI::HorizontalBoxLayout {} 69 70 @GUI::TextBox { 71 name: "filename_textbox" 72 } 73 74 @GUI::DialogButton { 75 name: "ok_button" 76 text: "OK" 77 } 78 } 79 80 @GUI::Widget { 81 fixed_height: 22 82 layout: @GUI::HorizontalBoxLayout {} 83 84 @GUI::ComboBox { 85 name: "allowed_file_type_filters_combo" 86 model_only: true 87 } 88 89 @GUI::DialogButton { 90 name: "cancel_button" 91 text: "Cancel" 92 } 93 } 94 } 95 } 96}