1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 10:27:36 +00:00

FontEditor: Correct NewFontDialog layout issues

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.
This commit is contained in:
thankyouverycool 2021-11-29 11:01:50 -05:00 committed by Andreas Kling
parent 9b184fc1cb
commit ca77aea099
2 changed files with 9 additions and 8 deletions

View file

@ -11,7 +11,7 @@
title: "Metadata"
fixed_width: 200
layout: @GUI::VerticalBoxLayout {
margins: [4]
margins: [6]
}
@GUI::Widget {
@ -26,7 +26,7 @@
@GUI::SpinBox {
name: "height_spinbox"
min: 0
min: 1
}
}
@ -42,7 +42,7 @@
@GUI::SpinBox {
name: "width_spinbox"
min: 0
min: 1
}
}
@ -104,14 +104,15 @@
layout: @GUI::HorizontalBoxLayout {
}
@GUI::Widget {
fixed_width: 80
}
@GUI::CheckBox {
name: "fixed_width_checkbox"
text: "Fixed width"
autosize: true
}
@GUI::Widget {
}
}
}