mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:37:45 +00:00
FontEditor: Hide Widget::set_font() in GlyphEditorWidget
We were already doing the same for its getters, and this makes its API more consistent with GlyphMapWidget.
This commit is contained in:
parent
bae36a7264
commit
dcf6454059
3 changed files with 3 additions and 4 deletions
|
@ -553,7 +553,7 @@ ErrorOr<void> FontEditorWidget::initialize(String const& path, RefPtr<Gfx::Bitma
|
|||
m_preview_label->set_font(*m_edited_font);
|
||||
|
||||
m_glyph_map_widget->set_font(*m_edited_font);
|
||||
m_glyph_editor_widget->initialize(*m_edited_font);
|
||||
m_glyph_editor_widget->set_font(*m_edited_font);
|
||||
m_glyph_editor_widget->set_fixed_size(m_glyph_editor_widget->preferred_width(), m_glyph_editor_widget->preferred_height());
|
||||
|
||||
m_glyph_editor_width_spinbox->set_visible(!m_edited_font->is_fixed_width());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue