Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict GUI Minimum Size #9

Closed
ghost opened this issue May 26, 2014 · 6 comments
Closed

Restrict GUI Minimum Size #9

ghost opened this issue May 26, 2014 · 6 comments

Comments

@ghost
Copy link

ghost commented May 26, 2014

Hi Andrew,

I just noticed you can really make the window size small. You should restrict the minimum size, so it can only be made to a certain height and width size small.

For the width I would only allow it to not cut the Tabs off so you don't get those scroll arrows, because right now you don't have that many tabs.

Also the height I just noticed if I make it to small text is still being cut off under the Counters tab, have a look at the screen shot below. Notice the 'Connect Time' being cut off;

http://i.imgur.com/LHT02SQ.png

Here's a screen shot I made showing how wide you should only allow to a smaller size, notice all the lines, line up around the outer edge of the status and help tab with the secton below it;

http://i.imgur.com/VhIPrnh.png

@andrew-bibb
Copy link
Owner

Just uploaded 14.05.26-3 with minimum size implemented, and more scroll bars for the boxes in the counters tab.

I based the minimum size on the wireless tab and it is narrow enough to still show enough of the signal strength bar to still be useful.

Can you check this out, the minimum size seems to work when I grab the corner grip, but I can get past it and I think that may be a function of my window manager.

@ghost
Copy link
Author

ghost commented May 27, 2014

Hi Andrew,

Nope not working size, you can still make the gui really small, have a look;

http://i.imgur.com/EC7xFSg.png

I would restrict the size to this small is all, notice the right edge of the Help tab that is lined up with the box/line below it;

http://i.imgur.com/R8MZSE5.png

And I'd restrict the height to about what you see too.

@andrew-bibb
Copy link
Owner

I just uploaded 14.05.19-1 which does have minimum size enforced. I can still get around it, but I think that is my WM allowing it. If you grab the grip in the lower right it does seem to limit where we want it.

I'm going to close this one for now.

@ghost
Copy link
Author

ghost commented May 30, 2014

Hi Andrew,

Nope the size is still going to small, like the first screen shot I posted above.

This time I took my terminal and used the size it gave me, and you'd want to make it like no smaller then 53x26.

53x26 makes it look like the second screen size. :)

@andrew-bibb
Copy link
Owner

This is driving me up a wall. Not sure where the sizes you've got are coming from, I've got it set to 530x475 in qdesigner. The size you show in your screen shot was the size you could get before I set in the 530x475. On my system I can shrink to slightly wider than all the tabs showing, which I do because otherwise the wifi signal bar is really not shown. But see below....

The shrinking size above is from grabbing the size widget in the lower right corner. I actually can get it down to about 5 pixels square bypassing that widget, but I'm pretty sure that is a feature (bug?) of i3.

Can you do me a favor and open up the Ui in qdesigner, then type ctrl+R and see how far you can shrink the window. Ctrl+R is a preview mode, use ctrl+w to exit the preview.

@andrew-bibb andrew-bibb reopened this May 30, 2014
@ghost
Copy link
Author

ghost commented May 31, 2014

I'm talking desktop resolution sizes, not sure if when coding in QT Designer it uses different numbering but I assumed it would be based on resolution pixel size...

Desktop resolution 53x26 is the same on everyone's box, of course depending on your actual desktop resolution it's going to look bigger or smaller is all, but the size is still the same, 53x26.

So on your box if you resize xterm or any terminal you have as an example you don't get a popup size window?

Here's a screen shot;

http://i.imgur.com/pOfXcFr.jpg

I'm grabbing urxvt in the upper right hand corner, mouse cursor is orange, and dragging until the size popup appears in the center, which you can see is showing, 53x26, that is the exact height and width I made cmst, this is the size I'm talking that you should make it no smaller.

530x475 that's huge, a 15" monitor going back 15 years ago only ran at 640x480... :)

This is how small it goes for me in preview mode;

http://i.imgur.com/i7QxvsR.jpg

And this is how big I'm talking about restricting it to, no smaller, as 53x26;

http://i.imgur.com/Srs455A.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant