diff options
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/FontEditor/FontEditor.cpp | 2 | ||||
-rw-r--r-- | Applications/Launcher/main.cpp | 1 | ||||
-rw-r--r-- | Applications/ProcessManager/MemoryStatsWidget.cpp | 5 | ||||
-rw-r--r-- | Applications/ProcessManager/main.cpp | 1 | ||||
-rw-r--r-- | Applications/Terminal/Terminal.cpp | 2 | ||||
-rw-r--r-- | Applications/TextEditor/main.cpp | 1 |
6 files changed, 4 insertions, 8 deletions
diff --git a/Applications/FontEditor/FontEditor.cpp b/Applications/FontEditor/FontEditor.cpp index 2207e2618f..5d4a223775 100644 --- a/Applications/FontEditor/FontEditor.cpp +++ b/Applications/FontEditor/FontEditor.cpp @@ -9,6 +9,8 @@ FontEditorWidget::FontEditorWidget(const String& path, RetainPtr<Font>&& edited_ : GWidget(parent) , m_edited_font(move(edited_font)) { + set_fill_with_background_color(true); + if (path.is_empty()) m_path = "/tmp/saved.font"; else diff --git a/Applications/Launcher/main.cpp b/Applications/Launcher/main.cpp index 7d46a40e20..44aca4d460 100644 --- a/Applications/Launcher/main.cpp +++ b/Applications/Launcher/main.cpp @@ -64,6 +64,7 @@ GWindow* make_launcher_window() window->set_rect(50, 50, 300, 60); auto* widget = new GWidget; + widget->set_fill_with_background_color(true); widget->set_layout(make<GBoxLayout>(Orientation::Horizontal)); widget->layout()->set_margins({ 5, 5, 5, 5 }); window->set_main_widget(widget); diff --git a/Applications/ProcessManager/MemoryStatsWidget.cpp b/Applications/ProcessManager/MemoryStatsWidget.cpp index 6dd576c77c..5143ee9a71 100644 --- a/Applications/ProcessManager/MemoryStatsWidget.cpp +++ b/Applications/ProcessManager/MemoryStatsWidget.cpp @@ -18,17 +18,14 @@ MemoryStatsWidget::MemoryStatsWidget(GWidget* parent) auto build_widgets_for_label = [this] (const String& description) -> GLabel* { auto* container = new GWidget(this); - container->set_fill_with_background_color(false); container->set_layout(make<GBoxLayout>(Orientation::Horizontal)); container->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed); container->set_preferred_size({ 250, 12 }); - auto* description_label = new GLabel(container); + auto* description_label = new GLabel(description, container); description_label->set_font(Font::default_bold_font()); description_label->set_text_alignment(TextAlignment::CenterLeft); - description_label->set_text(description); auto* label = new GLabel(container); label->set_text_alignment(TextAlignment::CenterRight); - label->set_fill_with_background_color(false); return label; }; diff --git a/Applications/ProcessManager/main.cpp b/Applications/ProcessManager/main.cpp index bcb0b9d652..14008e63b7 100644 --- a/Applications/ProcessManager/main.cpp +++ b/Applications/ProcessManager/main.cpp @@ -16,7 +16,6 @@ int main(int argc, char** argv) GApplication app(argc, argv); auto* widget = new GWidget; - widget->set_fill_with_background_color(false); widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); auto* toolbar = new GToolBar(widget); diff --git a/Applications/Terminal/Terminal.cpp b/Applications/Terminal/Terminal.cpp index 25df6def7d..e065e6b35a 100644 --- a/Applications/Terminal/Terminal.cpp +++ b/Applications/Terminal/Terminal.cpp @@ -41,8 +41,6 @@ Terminal::Terminal(int ptm_fd) flush_dirty_lines(); }; - set_fill_with_background_color(false); - m_line_height = font().glyph_height() + m_line_spacing; set_size(80, 25); diff --git a/Applications/TextEditor/main.cpp b/Applications/TextEditor/main.cpp index d6bb29b676..78d9f16993 100644 --- a/Applications/TextEditor/main.cpp +++ b/Applications/TextEditor/main.cpp @@ -19,7 +19,6 @@ int main(int argc, char** argv) GApplication app(argc, argv); auto* widget = new GWidget; - widget->set_fill_with_background_color(false); widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); auto* toolbar = new GToolBar(widget); |