mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
FontEditor: More reasonable labels, move property to GML
This commit is contained in:
parent
a8c95097b5
commit
197b5f7c4a
Notes:
sideshowbarker
2024-07-18 00:58:56 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/197b5f7c4ae Pull-request: https://github.com/SerenityOS/serenity/pull/10972
@ -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…
Reference in New Issue
Block a user