mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
FontEditor: Add 'New Font' wizard to editor
Take a comfy guided tour through new font creation.
This commit is contained in:
committed by
Andreas Kling
parent
cdfa2614b9
commit
07627b3742
Notes:
sideshowbarker
2024-07-18 20:33:46 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/07627b37421 Pull-request: https://github.com/SerenityOS/serenity/pull/6221
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user