mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 05:35:52 +03:00
dc3ee84aca
This patch removes deprecated GML properties and manual sizing calculations in favor of the new UIDimensions, and registers more widgets in the FontEditor namespace to simplify widget setup.
120 lines
2.5 KiB
Plaintext
120 lines
2.5 KiB
Plaintext
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
margins: [20]
|
|
}
|
|
|
|
@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 {
|
|
layout: @GUI::HorizontalBoxLayout {}
|
|
|
|
@GUI::Widget {
|
|
fixed_width: 80
|
|
}
|
|
|
|
@GUI::CheckBox {
|
|
name: "fixed_width_checkbox"
|
|
text: "Fixed width"
|
|
}
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout {}
|
|
|
|
@GUI::Layout::Spacer {}
|
|
|
|
@FontEditor::GlyphPreviewWidget {
|
|
name: "glyph_preview_widget"
|
|
layout: @GUI::VerticalBoxLayout {}
|
|
}
|
|
|
|
@GUI::Layout::Spacer {}
|
|
}
|
|
}
|