mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
DisplaySettings: Don't allow desktop background color with alpha
This commit is contained in:
parent
f8069418e1
commit
e8a044390e
Notes:
sideshowbarker
2024-07-19 07:11:19 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e8a044390ef
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ void DisplaySettingsWidget::create_frame()
|
||||||
color_label.set_text("Color Name:");
|
color_label.set_text("Color Name:");
|
||||||
|
|
||||||
m_color_input = color_selection_container.add<GUI::ColorInput>();
|
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_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fill);
|
||||||
m_color_input->set_preferred_size(90, 0);
|
m_color_input->set_preferred_size(90, 0);
|
||||||
m_color_input->set_color_picker_title("Select color for desktop");
|
m_color_input->set_color_picker_title("Select color for desktop");
|
||||||
|
|
Loading…
Reference in a new issue