mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
FontEditor: More reasonable labels, move property to GML
This commit is contained in:
parent
a8c95097b5
commit
197b5f7c4a
2 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,6 @@ FontEditorWidget::FontEditorWidget(const String& path, RefPtr<Gfx::BitmapFont>&&
|
||||||
else
|
else
|
||||||
m_glyph_editor_widget->set_mode(GlyphEditorWidget::Paint);
|
m_glyph_editor_widget->set_mode(GlyphEditorWidget::Paint);
|
||||||
};
|
};
|
||||||
move_glyph_button.set_checkable(true);
|
|
||||||
move_glyph_button.set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/selection-move.png").release_value_but_fixme_should_propagate_errors());
|
move_glyph_button.set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/selection-move.png").release_value_but_fixme_should_propagate_errors());
|
||||||
|
|
||||||
GUI::Clipboard::the().on_change = [&](const String& data_type) {
|
GUI::Clipboard::the().on_change = [&](const String& data_type) {
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
@GUI::CheckBox {
|
@GUI::CheckBox {
|
||||||
name: "glyph_editor_present_checkbox"
|
name: "glyph_editor_present_checkbox"
|
||||||
text: "Show"
|
text: "Present"
|
||||||
}
|
}
|
||||||
|
|
||||||
@GUI::Button {
|
@GUI::Button {
|
||||||
|
@ -54,6 +54,7 @@
|
||||||
fixed_width: 22
|
fixed_width: 22
|
||||||
tooltip: "Move Glyph"
|
tooltip: "Move Glyph"
|
||||||
button_style: "Coolbar"
|
button_style: "Coolbar"
|
||||||
|
checkable: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue