mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:47:46 +00:00
FontEditor: Add 'New Font' wizard to editor
Take a comfy guided tour through new font creation.
This commit is contained in:
parent
cdfa2614b9
commit
07627b3742
6 changed files with 620 additions and 1 deletions
103
Userland/Applications/FontEditor/NewFontDialogPage1.gml
Normal file
103
Userland/Applications/FontEditor/NewFontDialogPage1.gml
Normal file
|
@ -0,0 +1,103 @@
|
|||
@GUI::Widget {
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [20, 20, 20, 20]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 160
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
fixed_width: 100
|
||||
text_alignment: "CenterLeft"
|
||||
text: "Name:"
|
||||
}
|
||||
|
||||
@GUI::TextBox {
|
||||
name: "name_textbox"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
fixed_width: 100
|
||||
text_alignment: "CenterLeft"
|
||||
text: "Family:"
|
||||
}
|
||||
|
||||
@GUI::TextBox {
|
||||
name: "family_textbox"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::HorizontalSeparator {
|
||||
fixed_height: 22
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
fixed_width: 100
|
||||
text_alignment: "CenterLeft"
|
||||
text: "Type:"
|
||||
}
|
||||
|
||||
@GUI::ComboBox {
|
||||
name: "type_combobox"
|
||||
fixed_width: 180
|
||||
model_only: true
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
name: "type_info_label"
|
||||
text_alignment: "CenterLeft"
|
||||
autosize: true
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Weight:"
|
||||
fixed_width: 100
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
|
||||
@GUI::ComboBox {
|
||||
name: "weight_combobox"
|
||||
fixed_width: 180
|
||||
model_only: true
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
fixed_width: 100
|
||||
text_alignment: "CenterLeft"
|
||||
text: "Presentation size:"
|
||||
}
|
||||
|
||||
@GUI::SpinBox {
|
||||
name: "presentation_spinbox"
|
||||
min: 0
|
||||
max: 255
|
||||
fixed_width: 180
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue