diff options
author | Edgar Araújo <edgararaj@gmail.com> | 2021-03-23 16:59:18 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-29 09:10:23 +0200 |
commit | ca90a2029d36e118cf7e9fbc0bdf4eb08b1bde13 (patch) | |
tree | dc085b0a12470eab14851cbecb101576f1d3744f /Userland/Demos | |
parent | 532e0090fc84e134f50b5b2bef7ad9c1ce4653ff (diff) | |
download | serenity-ca90a2029d36e118cf7e9fbc0bdf4eb08b1bde13.zip |
Everywhere: Change font properties to be described in GML
Diffstat (limited to 'Userland/Demos')
-rw-r--r-- | Userland/Demos/WidgetGallery/GalleryGML/CursorsTab.gml | 1 | ||||
-rw-r--r-- | Userland/Demos/WidgetGallery/GalleryGML/IconsTab.gml | 1 | ||||
-rw-r--r-- | Userland/Demos/WidgetGallery/GalleryWidget.cpp | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Demos/WidgetGallery/GalleryGML/CursorsTab.gml b/Userland/Demos/WidgetGallery/GalleryGML/CursorsTab.gml index e610f819b8..965414eb10 100644 --- a/Userland/Demos/WidgetGallery/GalleryGML/CursorsTab.gml +++ b/Userland/Demos/WidgetGallery/GalleryGML/CursorsTab.gml @@ -11,6 +11,7 @@ @GUI::TableView { name: "cursors_tableview" + font_size: 12 } } } diff --git a/Userland/Demos/WidgetGallery/GalleryGML/IconsTab.gml b/Userland/Demos/WidgetGallery/GalleryGML/IconsTab.gml index d6d1533759..8a3496c799 100644 --- a/Userland/Demos/WidgetGallery/GalleryGML/IconsTab.gml +++ b/Userland/Demos/WidgetGallery/GalleryGML/IconsTab.gml @@ -11,6 +11,7 @@ @GUI::TableView { name: "icons_tableview" + font_size: 12 } } } diff --git a/Userland/Demos/WidgetGallery/GalleryWidget.cpp b/Userland/Demos/WidgetGallery/GalleryWidget.cpp index 3add7b662c..1263106ee2 100644 --- a/Userland/Demos/WidgetGallery/GalleryWidget.cpp +++ b/Userland/Demos/WidgetGallery/GalleryWidget.cpp @@ -306,7 +306,6 @@ GalleryWidget::GalleryWidget() m_cursors_tableview->set_alternating_row_colors(false); m_cursors_tableview->set_vertical_padding(16); m_cursors_tableview->set_column_headers_visible(false); - m_cursors_tableview->set_font(Gfx::BitmapFont::load_from_file("/res/fonts/KaticaRegular12.font")); m_cursors_tableview->set_highlight_key_column(false); auto sorting_proxy_model = GUI::SortingProxyModel::create(MouseCursorModel::create()); @@ -380,7 +379,6 @@ GalleryWidget::GalleryWidget() m_icons_tableview->set_alternating_row_colors(false); m_icons_tableview->set_vertical_padding(24); m_icons_tableview->set_column_headers_visible(false); - m_icons_tableview->set_font(Gfx::BitmapFont::load_from_file("/res/fonts/KaticaRegular12.font")); m_icons_tableview->set_highlight_key_column(false); auto sorting_proxy_icons_model = GUI::SortingProxyModel::create(FileIconsModel::create()); |