1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:57:44 +00:00

WidgetGallery: add a simple Wizard demo :^)

The sample Wizard subclasses WizardDialog and demonstrates a front and
back cover, as well as extracting user input from a Wizard page to
display in the interface which spawned the Wizard.
This commit is contained in:
Nick Vella 2021-02-26 18:17:28 +11:00 committed by Andreas Kling
parent e241dba8d3
commit 2b9098f540
6 changed files with 239 additions and 0 deletions

View file

@ -0,0 +1,21 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
margins: [20, 20, 20, 20]
}
@GUI::Label {
text: "Please wait..."
text_alignment: "TopLeft"
fixed_height: 32
}
@GUI::ProgressBar {
name: "page_2_progress_bar"
fixed_height: 28
}
// Spacer
@GUI::Widget {
}
}