1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 19:45:08 +00:00
serenity/Userland/Libraries/LibGUI/IncrementalSearchBanner.gml
Štěpán Balážik e3112a3d2e LibGUI: Swap Next and Previous button on IncrementalSearchBanner
This order seems more natural as it is used in basically all apps on
other systems (e.g. Firefox, CLion,...).
2022-12-04 10:46:30 +01:00

81 lines
1.8 KiB
Text

@GUI::Widget {
fill_with_background_color: true
visible: false
layout: @GUI::HorizontalBoxLayout {
margins: [4]
}
@GUI::TextBox {
name: "search_textbox"
max_width: 250
preferred_width: "grow"
placeholder: "Find"
}
@GUI::Widget {
preferred_width: "shrink"
layout: @GUI::HorizontalBoxLayout {
spacing: 0
}
@GUI::Button {
name: "previous_button"
icon: "/res/icons/16x16/go-up.png"
fixed_width: 18
button_style: "Coolbar"
focus_policy: "NoFocus"
}
@GUI::Button {
name: "next_button"
icon: "/res/icons/16x16/go-down.png"
fixed_width: 18
button_style: "Coolbar"
focus_policy: "NoFocus"
}
}
@GUI::Label {
name: "index_label"
text_alignment: "CenterLeft"
}
@GUI::Layout::Spacer {}
@GUI::Widget {
preferred_width: "shrink"
layout: @GUI::HorizontalBoxLayout {
spacing: 0
}
@GUI::Button {
name: "wrap_search_button"
fixed_width: 24
icon: "/res/icons/16x16/reload.png"
tooltip: "Wrap Search"
checkable: true
checked: true
button_style: "Coolbar"
focus_policy: "NoFocus"
}
@GUI::Button {
name: "match_case_button"
fixed_width: 24
icon: "/res/icons/16x16/app-font-editor.png"
tooltip: "Match Case"
checkable: true
button_style: "Coolbar"
focus_policy: "NoFocus"
}
}
@GUI::VerticalSeparator {}
@GUI::Button {
name: "close_button"
fixed_size: [15, 16]
button_style: "Coolbar"
focus_policy: "NoFocus"
}
}