-
Notifications
You must be signed in to change notification settings - Fork 478
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
Add QScrollArea to support resizing the main window #251
Conversation
Inspired by this forum request: https://forum.bitcraze.io/viewtopic.php?f=11&t=2002
Nice Fred! I have 2 comments:
|
Hi Arnaud, |
Make default size big enough to not have scroll bars, make scroll box border invisible
Both issues should be fixed now. |
👍 Looks good, the box is not visible anymore :). For the size though it does not seems to work: the window is still too small for me. I am afraid this is dependent of the particular OS/WM/Font. There should be a way to calculate the size of all the widgets and set that as default. I will look a bit at it. |
OK. It works for me, but I will definitely try to fix it. |
Hi @fredg02 ! I just want to check the status on this PR.
|
Today i learned: The cfclient has a status bar :) I agree, the default size should show everything, if enough space is availlable. On my 1280x800 screen, however, there just isn't enough vertical space. So in general i really like having the scrollbar. I fiddled a bit in QtCreator and managed to give the window more height, but unfortunately i could not figure out how to calculate the size dynamically. Setting I was thinking about moving the "Auto Reconnect" and "Address" widgets in between "Scan" and "Battery" to save some vertical space. |
Lets merge this and fix the window size somehow :-). Thanks fred! |
Sorry @krichardsson, I somehow missed your comment. Unfortunately I did not find a solution how the window can be resized dynamically. |
Inspired by this forum request:
https://forum.bitcraze.io/viewtopic.php?f=11&t=2002