mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
NotificationServer: Convert the notification window contents to GML
This commit is contained in:
parent
e4c7b9817b
commit
84e8bf3421
4 changed files with 61 additions and 13 deletions
27
Userland/Services/NotificationServer/NotificationWidget.gml
Normal file
27
Userland/Services/NotificationServer/NotificationWidget.gml
Normal file
|
@ -0,0 +1,27 @@
|
|||
@NotificationServer::NotificationWidget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [8]
|
||||
spacing: 6
|
||||
}
|
||||
fill_with_background_color: true
|
||||
|
||||
@GUI::ImageWidget {
|
||||
name: "icon"
|
||||
visible: false
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::VerticalBoxLayout {}
|
||||
|
||||
@GUI::Label {
|
||||
name: "title"
|
||||
font_weight: "Bold"
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
name: "text"
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue