summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/CondView.gml
blob: a17e15d14b342a0e759d7dffbcc45c19e303d75c (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
39
40
41
42
43
44
45
46
47
48
49
50
51
@GUI::Widget {
    layout: @GUI::VerticalBoxLayout

    @GUI::Widget {
        shrink_to_fit: true

        layout: @GUI::HorizontalBoxLayout

        @GUI::Label {
            text: "if..."
            fixed_width: 40
        }

        @GUI::TextEditor {
            name: "formula_editor"
            fixed_height: 25
            tooltip: "Use 'value' to refer to the current cell's value"
            font_type: "FixedWidth"
        }
    }

    @GUI::Widget {
        shrink_to_fit: true

        layout: @GUI::HorizontalBoxLayout

        @GUI::Label {
            text: "Foreground..."
            fixed_width: 150
        }

        @GUI::ColorInput {
            name: "foreground_input"
        }
    }

    @GUI::Widget {
        shrink_to_fit: true

        layout: @GUI::HorizontalBoxLayout

        @GUI::Label {
            text: "Background..."
            fixed_width: 150
        }

        @GUI::ColorInput {
            name: "background_input"
        }
    }
}