You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Clip text in EditorPath button to avoid dock size changes
This commit is contained in:
@@ -150,6 +150,7 @@ void EditorPath::_bind_methods() {
|
|||||||
EditorPath::EditorPath(EditorHistory *p_history) {
|
EditorPath::EditorPath(EditorHistory *p_history) {
|
||||||
|
|
||||||
history = p_history;
|
history = p_history;
|
||||||
|
set_clip_text(true);
|
||||||
set_text_align(ALIGN_LEFT);
|
set_text_align(ALIGN_LEFT);
|
||||||
get_popup()->connect("about_to_show", this, "_about_to_show");
|
get_popup()->connect("about_to_show", this, "_about_to_show");
|
||||||
get_popup()->connect("id_pressed", this, "_id_pressed");
|
get_popup()->connect("id_pressed", this, "_id_pressed");
|
||||||
|
|||||||
Reference in New Issue
Block a user