diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 13:32:14 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 13:32:14 +0100 |
commit | f8b00aa29010cc3a99b285d0afd88314c40be079 (patch) | |
tree | 578b042c504966843609d9c6260093d859e67306 /Libraries/LibGUI/GBoxLayout.cpp | |
parent | 9b87843af169b08f1b852da96f696004866783fe (diff) | |
download | serenity-f8b00aa29010cc3a99b285d0afd88314c40be079.zip |
LibGfx: Unpublish Gfx::Size from the global namespace
Diffstat (limited to 'Libraries/LibGUI/GBoxLayout.cpp')
-rw-r--r-- | Libraries/LibGUI/GBoxLayout.cpp | 4 |
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) { |