summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/qs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/qs.cpp b/Userland/qs.cpp
index 9a6cb040d6..e3b5c49cb9 100644
--- a/Userland/qs.cpp
+++ b/Userland/qs.cpp
@@ -58,6 +58,11 @@ int main(int argc, char** argv)
auto* widget = new GWidget;
window->set_main_widget(widget);
+ if (bitmap->has_alpha_channel()) {
+ widget->set_background_color(Color::White);
+ widget->set_fill_with_background_color(true);
+ }
+
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
auto* label = new GLabel(widget);