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
Notes: sideshowbarker 2024-07-19 07:11:19 +09:00

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");