You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Add option for a touch-friendly drag handle in SplitContainer
This commit is contained in:
@@ -1184,6 +1184,10 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
||||
|
||||
// Containers
|
||||
|
||||
theme->set_icon("h_touch_dragger", "SplitContainer", icons["h_dragger"]);
|
||||
theme->set_icon("v_touch_dragger", "SplitContainer", icons["v_dragger"]);
|
||||
theme->set_icon("touch_dragger", "VSplitContainer", icons["v_dragger"]);
|
||||
theme->set_icon("touch_dragger", "HSplitContainer", icons["h_dragger"]);
|
||||
theme->set_icon("h_grabber", "SplitContainer", icons["hsplitter"]);
|
||||
theme->set_icon("v_grabber", "SplitContainer", icons["vsplitter"]);
|
||||
theme->set_icon("grabber", "VSplitContainer", icons["vsplitter"]);
|
||||
|
||||
Reference in New Issue
Block a user