1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

DisplaySettings: Don't allow desktop background color with alpha

This commit is contained in:
Andreas Kling 2020-04-29 16:22:29 +02:00
parent f8069418e1
commit e8a044390e

View file

@ -218,6 +218,7 @@ void DisplaySettingsWidget::create_frame()
color_label.set_text("Color Name:");
m_color_input = color_selection_container.add<GUI::ColorInput>();
m_color_input->set_color_has_alpha_channel(false);
m_color_input->set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fill);
m_color_input->set_preferred_size(90, 0);
m_color_input->set_color_picker_title("Select color for desktop");