derkork / godot-statecharts

A state charts extension for Godot 4
MIT License
870 stars 45 forks source link

Can't make 2 column toolbar UI #127

Closed eobet closed 3 months ago

eobet commented 5 months 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 5 months 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 5 months 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!

derkork commented 4 months ago

This is great news, thanks for reporting back! I'll incorporate this change in the next release though I still really would like to understand why you are unable to get below 5 icons without the change.

eobet commented 4 months ago

I still really would like to understand why you are unable to get below 5 icons without the change.

Perhaps it's because I'm running 175% desktop scaling in Gnome Wayland (and when I posted the above, I wasn't aware of the "prefer wayland" Editor Setting, which I unfortunately still can't use because it has some showstopper issues for me).