derkork / godot-statecharts

A state charts extension for Godot 4
MIT License
673 stars 33 forks source link

Can't make 2 column toolbar UI #127

Open eobet opened 1 week ago

eobet commented 1 week ago

The documentation shows the new UI as having two columns:

https://github.com/derkork/godot-statecharts/blob/main/manual/manual.md

But this is the most narrow I can drag it to:

image

What information can I provide to help you debug this?

derkork commented 1 week ago

The screenshot was made in a very early version of the plugin where no minimum size was applied to the sidebar. This could lead to visual problems so a minimum size was introduced. However even with that in place I can resize the sidebar down to 3 horizontal icons. What resolution is your desktop at and what kind of scaling are you using? Also can you try to remove the minimum size of the editor sidebar panel and see if that improves the situation?

image

eobet commented 1 week ago

I'm normally using 175% display scaling (on Linux Wayland) although that currently has some core engine issues.

Right now, as a workaround, I'm at 100% but still seeing the same thing, can't resize down past 5 icons.

But thanks to your instructions, I now was able to set it to a low enough threshold so I got the 2 icon wide sidebar and so far it has both worked and looked very nice and unobtrusive!