summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/CondFormatting.gml
blob: 59ca4f004e4c449a41867b779d83d9f70c292bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@GUI::Widget {
    name: "main"
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        margins: [4]
        spacing: 4
    }

    @GUI::ScrollableContainerWidget {
        should_hide_unnecessary_scrollbars: true
        content_widget: @Spreadsheet::ConditionsView {
            name: "conditions_view"
        }
    }

    @GUI::Widget {
        preferred_height: "fit"
        layout: @GUI::HorizontalBoxLayout {
            spacing: 10
        }

        @GUI::Layout::Spacer {}

        @GUI::Button {
            name: "add_button"
            text: "Add"
            fixed_width: 70
        }

        @GUI::Button {
            name: "remove_button"
            text: "Remove"
            fixed_width: 70
        }

        @GUI::Layout::Spacer {}
    }
}