mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-25 19:02:07 -05:00
ca77aea099
Fixes incorrect scale initialization and inconsistent margins, sets minimum values for glyph width and height to 1, and labels page 1 more precisely as "Typeface" properties.
137 lines
3.2 KiB
Text
137 lines
3.2 KiB
Text
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [20]
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
}
|
|
|
|
@GUI::GroupBox {
|
|
title: "Metadata"
|
|
fixed_width: 200
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [6]
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
}
|
|
|
|
@GUI::Label {
|
|
fixed_width: 80
|
|
text_alignment: "CenterLeft"
|
|
text: "Height:"
|
|
}
|
|
|
|
@GUI::SpinBox {
|
|
name: "height_spinbox"
|
|
min: 1
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
}
|
|
|
|
@GUI::Label {
|
|
fixed_width: 80
|
|
text_alignment: "CenterLeft"
|
|
text: "Width:"
|
|
}
|
|
|
|
@GUI::SpinBox {
|
|
name: "width_spinbox"
|
|
min: 1
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
}
|
|
|
|
@GUI::Label {
|
|
fixed_width: 80
|
|
text_alignment: "CenterLeft"
|
|
text: "Mean line:"
|
|
}
|
|
|
|
@GUI::SpinBox {
|
|
name: "mean_line_spinbox"
|
|
min: 0
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
}
|
|
|
|
@GUI::Label {
|
|
fixed_width: 80
|
|
text_alignment: "CenterLeft"
|
|
text: "Baseline:"
|
|
}
|
|
|
|
@GUI::SpinBox {
|
|
name: "baseline_spinbox"
|
|
min: 0
|
|
}
|
|
}
|
|
|
|
@GUI::HorizontalSeparator {
|
|
fixed_height: 22
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
}
|
|
|
|
@GUI::Label {
|
|
fixed_width: 80
|
|
text_alignment: "CenterLeft"
|
|
text: "Spacing:"
|
|
}
|
|
|
|
@GUI::SpinBox {
|
|
name: "spacing_spinbox"
|
|
min: 0
|
|
max: 255
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_height: 22
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_width: 80
|
|
}
|
|
|
|
@GUI::CheckBox {
|
|
name: "fixed_width_checkbox"
|
|
text: "Fixed width"
|
|
autosize: true
|
|
}
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout {
|
|
}
|
|
|
|
@GUI::Widget {
|
|
}
|
|
|
|
@GUI::Widget {
|
|
name: "glyph_editor_container"
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [5, 0, 0]
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
}
|
|
}
|
|
}
|
|
}
|