mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Don't apply scale to autohide theme property
(cherry picked from commit 722597aa97)
This commit is contained in:
parent
2992a99629
commit
ccc761dd93
1 changed files with 3 additions and 3 deletions
|
|
@ -1069,9 +1069,9 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
|||
theme->set_constant("minimum_grab_thickness", "SplitContainer", 6 * scale);
|
||||
theme->set_constant("minimum_grab_thickness", "HSplitContainer", 6 * scale);
|
||||
theme->set_constant("minimum_grab_thickness", "VSplitContainer", 6 * scale);
|
||||
theme->set_constant("autohide", "SplitContainer", 1 * scale);
|
||||
theme->set_constant("autohide", "HSplitContainer", 1 * scale);
|
||||
theme->set_constant("autohide", "VSplitContainer", 1 * scale);
|
||||
theme->set_constant("autohide", "SplitContainer", 1);
|
||||
theme->set_constant("autohide", "HSplitContainer", 1);
|
||||
theme->set_constant("autohide", "VSplitContainer", 1);
|
||||
theme->set_constant("h_separation", "FlowContainer", 4 * scale);
|
||||
theme->set_constant("v_separation", "FlowContainer", 4 * scale);
|
||||
theme->set_constant("h_separation", "HFlowContainer", 4 * scale);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue