summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GBoxLayout.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-06 13:32:14 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 13:32:14 +0100
commitf8b00aa29010cc3a99b285d0afd88314c40be079 (patch)
tree578b042c504966843609d9c6260093d859e67306 /Libraries/LibGUI/GBoxLayout.cpp
parent9b87843af169b08f1b852da96f696004866783fe (diff)
downloadserenity-f8b00aa29010cc3a99b285d0afd88314c40be079.zip
LibGfx: Unpublish Gfx::Size from the global namespace
Diffstat (limited to 'Libraries/LibGUI/GBoxLayout.cpp')
-rw-r--r--Libraries/LibGUI/GBoxLayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/GBoxLayout.cpp b/Libraries/LibGUI/GBoxLayout.cpp
index c8c2986c3b..b22f185484 100644
--- a/Libraries/LibGUI/GBoxLayout.cpp
+++ b/Libraries/LibGUI/GBoxLayout.cpp
@@ -48,7 +48,7 @@ void BoxLayout::run(Widget& widget)
if (m_entries.is_empty())
return;
- Size available_size = widget.size();
+ Gfx::Size available_size = widget.size();
int number_of_entries_with_fixed_size = 0;
int number_of_visible_entries = 0;
@@ -91,7 +91,7 @@ void BoxLayout::run(Widget& widget)
if (should_log)
dbgprintf("BoxLayout: available_size=%s, fixed=%d, fill=%d\n", available_size.to_string().characters(), number_of_entries_with_fixed_size, number_of_entries_with_automatic_size);
- Size automatic_size;
+ Gfx::Size automatic_size;
if (number_of_entries_with_automatic_size) {
if (m_orientation == Orientation::Horizontal) {