mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Merge pull request #65355 from groud/split_container_min_grab_thickness
Allow SplitContainer to have a grab area larger than its visual grabber
This commit is contained in:
@@ -1361,6 +1361,9 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
theme->set_constant("separation", "HSplitContainer", default_margin_size * 2 * EDSCALE);
|
||||
theme->set_constant("separation", "VSplitContainer", default_margin_size * 2 * EDSCALE);
|
||||
|
||||
theme->set_constant("minimum_grab_thickness", "HSplitContainer", 6 * EDSCALE);
|
||||
theme->set_constant("minimum_grab_thickness", "VSplitContainer", 6 * EDSCALE);
|
||||
|
||||
// Containers
|
||||
theme->set_constant("separation", "BoxContainer", default_margin_size * EDSCALE);
|
||||
theme->set_constant("separation", "HBoxContainer", default_margin_size * EDSCALE);
|
||||
|
||||
Reference in New Issue
Block a user