summaryrefslogtreecommitdiff
path: root/Userland/Services/LoginServer/LoginWindow.gml
blob: 76e7533beec6b3852c9d6d7e203fd381e5f43e88 (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 {
    fill_with_background_color: true

    layout: @GUI::VerticalBoxLayout

    @GUI::ImageWidget {
        name: "banner"
        auto_resize: true
    }

    @GUI::Widget {
        layout: @GUI::VerticalBoxLayout {
            margins: [8, 8, 8, 8]
        }

        @GUI::TextBox {
            name: "username"
            placeholder: "Username"
        }

        @GUI::PasswordBox {
            name: "password"
            placeholder: "Password"
        }

        @GUI::Widget {
            layout: @GUI::HorizontalBoxLayout

            @GUI::Widget

            @GUI::Button {
                name: "log_in"
                text: "Log in"
                fixed_width: 60
            }
        }
    }
}