mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
a486415f03
The editor now unmasks fonts on load, mapping their glyphs to the complete unicode character set, and masks them upon saving to reduce disk space. This is a naive approach in terms of memory usage and can be improved but whose immediate goal is to allow editing any glyph without concern for range allocation.
80 lines
1.7 KiB
Text
80 lines
1.7 KiB
Text
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [20]
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_height: 138
|
|
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 {
|
|
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
|
|
}
|
|
}
|
|
}
|
|
}
|