libgdx / gdx-liftoff

A modern setup tool for libGDX Gradle projects
Apache License 2.0
524 stars 48 forks source link

Full paths no longer displays in full #164

Closed JojoIce closed 2 months ago

JojoIce commented 2 months ago

In general really nice change of the GUI, but one drawback compared to the old style is that the "project path" and the "android SDK" path on last page can no longer be seen in full, they just end with 2(!) and 3 dots if the path is of any length. Before I could see the whole path. Only minor usability but maybe reducing the font size in those fields and/or display the path on a new line full page with could be an easy fix. Making the window wider will not allow me to see the full path either since the GUI area does not stretch, same with 3rd party list.

tommyettinger commented 2 months ago

I can't reproduce this. At the absolute smallest window size I can make it, my screen looks like this:

image

And a little wider, it looks like this: image

The second one is about 1000px wide, since it's roughly half the width of my 1080p screen. In both cases the path is clickable, and for the extremely-narrow window only the label becomes partly hidden. There are 3 dots there, by the way, it's just that one merges with the bottom line of the 'E'. Because the file path can be extremely long in some cases, I'm not sure if we want the path section to just grow indefinitely. You can always see the path by clicking it.

I don't know if there's an issue with the third-party list; it does shrink if you crush the window to be very narrow (500px?) but expands back to its normal width if you make the window larger.

image

JojoIce commented 2 months ago

Maybe I was a bit fuzzy in the description. See the screenshot below. Even though the new GUI has huge space (the full screen) it still is not possible to see the full path to the project. It is also not possible to "scroll right" in the path text-field as in the old. Looking at the old GUI that is on top of less than 1/3 of the new GUI it shows the whole path.

So the path cannot be displayed in the text-field, but the window has lots of space and even the "generate" button is further to the right than the text field extends.

But as I said, just a minor thing, though IMHO a small step back. New GUI shows about 1/3 of the text compared with old. It does not use the screen space (white boxes). For me when testing, I just filled in the new folder name in the old GUI and clicked the create folder button. Now it is a detour to the OS for creating a folder, selecting it and hoping that it was properly selected since it is not reflected in the GUI (new folder was outside textbox for me).

Screenshot 2024-06-15 at 11 55 01

SonicGDX commented 2 months ago

Maybe instead of the "project path" text being horizontally next to the path selection box (and same for the android SDK path), it could be vertically above it. That way the box could expand to the full width of the black square. To be fair, then stuff might be obscured for a small window.

Maybe the "Add Gradle Tasks" button could be made smaller to compensate. It seems like sort of a niche feature anyway.

Also if the black square is scaled up as far as its aspect ratio allows it to without distortion (so that it occupies the full vertical length of the window, and the grey border is only on the left and right side of it) that might help as well.

Before (drawn in a paint program so not accurate, just a demonstration of what I mean): before

After: after

EDIT: actually NVM, it may not be feasible or desired to upscale the UI