Tomasz Chabora
Tomasz Chabora
Caused by this line: https://github.com/godotengine/godot/blob/1ba4dbb164078561c58dcd432529062bea51457e/scene/gui/container.cpp#L127 The TextureRect is inside a Container, which resets the scale each time the container's children are sorted. Setting TextureRect's texture will update its minimum size,...
For the main screen buttons, I was wondering if we shouldn't change them to TabBar/TabContainer, which would eventually allow to use main screen as a dock slot. Related: #106164
You can test it on non-mac too, I think you just have to remove the conditions here: https://github.com/godotengine/godot/blob/a3b42d85d27668f8992c0779ed3cc82d13db3dd9/editor/editor_node.cpp#L8117-L8127
I did that in https://github.com/godotengine/godot/pull/105106#issuecomment-2784536122 and it was enough to see the problem.
> These buttons are now completely hidden when not running the project, instead of just being disabled. They are only relevant during runtime and do not need to remain visible...
#113051 would effectively replace it if it's merged (like what happened with bottom panel xd).
https://github.com/godotengine/godot/pull/108147 will allow this.
I replaced the condition with a new method, but missed that it also checks `is_visible()`.
The relationship lines in FileSystem don't reach the bottom: EDIT: Also it would be nice to add hints to CreateDialog too. It seems to be missing in the changes. EDIT:...
> Also, is there a way for an EditorDock to know if it was placed in a dock or in the bottom panel? Override `update_layout()`. `DOCK_LAYOUT_HORIZONTAL` is for bottom panel.