1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +00:00

NotificationServer: Convert the notification window contents to GML

This commit is contained in:
Sam Atkins 2024-01-16 15:15:43 +00:00 committed by Tim Flynn
parent e4c7b9817b
commit 84e8bf3421
4 changed files with 61 additions and 13 deletions

View 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"
}
}
}