diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-12 15:23:07 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-12 15:23:07 +0100 |
commit | d74b131c272a433d328a2863af8ef57f43fd8a56 (patch) | |
tree | 247dd08361ba28d15aa7e98ffe6c4e1b259dca4b /Applications/FontEditor | |
parent | d6326d6c2ec6a2849f3f0ad0e16c1df3ac0fc326 (diff) | |
download | serenity-d74b131c272a433d328a2863af8ef57f43fd8a56.zip |
Add a little About app and hook it up to the system menu's "About..." entry.
Added icons and customizable text alignment to GLabel.
Diffstat (limited to 'Applications/FontEditor')
-rw-r--r-- | Applications/FontEditor/FontEditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/FontEditor/FontEditor.cpp b/Applications/FontEditor/FontEditor.cpp index 6d2e0c346e..1fd1431762 100644 --- a/Applications/FontEditor/FontEditor.cpp +++ b/Applications/FontEditor/FontEditor.cpp @@ -42,6 +42,7 @@ FontEditorWidget::FontEditorWidget(const String& path, RetainPtr<Font>&& edited_ }; auto* info_label = new GLabel(this); + info_label->set_text_alignment(TextAlignment::CenterLeft); info_label->set_relative_rect({ 5, 110, 100, 20 }); auto* demo_label_1 = new GLabel(this); |