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

FontEditor: Allow editing new font header

And make use of mapping functions moved from
LibGUI/FontPickerWeightModel.h => LibGfx/FontStyleMapping.h
This commit is contained in:
thankyouverycool 2021-09-23 20:07:34 -04:00 committed by Andreas Kling
parent 91b3e9b7ae
commit fde48f1a7a
6 changed files with 81 additions and 22 deletions

View file

@ -132,16 +132,15 @@
}
@GUI::Label {
name: "presentation_label"
name: "slope_label"
fixed_width: 100
text_alignment: "CenterLeft"
text: "Presentation size:"
text: "Slope:"
}
@GUI::SpinBox {
name: "presentation_spinbox"
min: 0
max: 255
@GUI::ComboBox {
name: "slope_combobox"
model_only: true
}
}
@ -150,14 +149,14 @@
}
@GUI::Label {
name: "spacing_label"
name: "presentation_label"
fixed_width: 100
text_alignment: "CenterLeft"
text: "Glyph spacing:"
text: "Presentation size:"
}
@GUI::SpinBox {
name: "spacing_spinbox"
name: "presentation_spinbox"
min: 0
max: 255
}
@ -202,6 +201,19 @@
layout: @GUI::HorizontalBoxLayout {
}
@GUI::Label {
name: "spacing_label"
fixed_width: 100
text_alignment: "CenterLeft"
text: "Glyph spacing:"
}
@GUI::SpinBox {
name: "spacing_spinbox"
min: 0
max: 255
}
@GUI::CheckBox {
name: "fixed_width_checkbox"
text: "Fixed width"