Improve completion scroll bar visibility in the script editor
This makes the scroll bar bar thicker and more opaque (roughly matching the editor theme's scroll bar by default).
This commit is contained in:
@@ -466,7 +466,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, Ref<Te
|
||||
theme->set_color("completion_background_color", "CodeEdit", Color(0.17, 0.16, 0.2));
|
||||
theme->set_color("completion_selected_color", "CodeEdit", Color(0.26, 0.26, 0.27));
|
||||
theme->set_color("completion_existing_color", "CodeEdit", Color(0.87, 0.87, 0.87, 0.13));
|
||||
theme->set_color("completion_scroll_color", "CodeEdit", control_font_pressed_color);
|
||||
theme->set_color("completion_scroll_color", "CodeEdit", control_font_pressed_color * Color(1, 1, 1, 0.29));
|
||||
theme->set_color("completion_font_color", "CodeEdit", Color(0.67, 0.67, 0.67));
|
||||
theme->set_color("font_color", "CodeEdit", control_font_color);
|
||||
theme->set_color("font_selected_color", "CodeEdit", Color(0, 0, 0));
|
||||
@@ -490,7 +490,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, Ref<Te
|
||||
|
||||
theme->set_constant("completion_lines", "CodeEdit", 7);
|
||||
theme->set_constant("completion_max_width", "CodeEdit", 50);
|
||||
theme->set_constant("completion_scroll_width", "CodeEdit", 3);
|
||||
theme->set_constant("completion_scroll_width", "CodeEdit", 6);
|
||||
theme->set_constant("line_spacing", "CodeEdit", 4 * scale);
|
||||
theme->set_constant("outline_size", "CodeEdit", 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user