- Posts: 2
- Thank you received: 0
shrinking top pane of axis on low res monitor
2 years 4 months ago #302353
by colt
shrinking top pane of axis on low res monitor was created by colt
I just updated to newest version from wheezy. Looks like now the active gcodes has been moved out of the mdi tab view
, but now contributing to top pane height increase? The result is axis hangs below the bottom of the screen.
Could someone give me a hint as to what command would let me reduce the height of the top pane?
I am able to increase its height using the .axisrc file by using
but it seems something inside stops its height from being reduced any further and this has no effect
For now I am going to scale my resolution until I have more time to look through the code.
Attachment not found
Could someone give me a hint as to what command would let me reduce the height of the top pane?
I am able to increase its height using the .axisrc file by using
Code:
root_window.tk.call('.pane.top','configure','-minsize',5000)
Code:
root_window.tk.call('.pane.top','configure','-minsize',250)
For now I am going to scale my resolution until I have more time to look through the code.
Please Log in to join the conversation.
2 years 4 months ago #302358
by phillc54
Replied by phillc54 on topic shrinking top pane of axis on low res monitor
Try this:
You may also need to play with these for the bottom pane:
Code:
root_window.tk.call('.pane', 'paneconfigure', '.pane.top', '-minsize', 250)
You may also need to play with these for the bottom pane:
Code:
root_window.tk.call('.pane', 'paneconfigure', '.pane.bottom', '-minsize', 250)
root_window.tk.call('.pane', 'paneconfigure', '.pane.bottom', '-height', 250)
Please Log in to join the conversation.
2 years 4 months ago #302404
by cakeslob
Replied by cakeslob on topic shrinking top pane of axis on low res monitor
yeah there are a few things you need to adjust, i dont remember it being as simple as just changing pane.top
dont remember exactly what I did, but you can refer to my 2 other files to play with, i did these specifically for small screens
www.forum.linuxcnc.org/21-axis/38188-sol...screen-w-usercommand
www.forum.linuxcnc.org/21-axis/49372-reg...od-based-on-plasmac2
edit, ok i went back to double check, because i remember it took me a long time to bruteforce the winning combo
i think .pane configures its min height for all the widgets, then hides them after, because just trying to change the height never worked
dont remember exactly what I did, but you can refer to my 2 other files to play with, i did these specifically for small screens
www.forum.linuxcnc.org/21-axis/38188-sol...screen-w-usercommand
www.forum.linuxcnc.org/21-axis/49372-reg...od-based-on-plasmac2
edit, ok i went back to double check, because i remember it took me a long time to bruteforce the winning combo
Code:
########## resize bottom pane #######
root_window.tk.call('.pane','paneconfigure','.pane.bottom',"-stretch","always","-height","200");
######### resize top pane ########
#root_window.tk.call('.pane','paneconfigure','.pane.top',"-stretch","never","-minsize","300");
########### window resize #########
root_window.tk.call(".pane","configure","-height","350");
i think .pane configures its min height for all the widgets, then hides them after, because just trying to change the height never worked
Please Log in to join the conversation.
2 years 4 months ago #302497
by colt
Replied by colt on topic shrinking top pane of axis on low res monitor
That did the trick, I am up and running. Not sure I would've ever figured that out.
Please Log in to join the conversation.
Time to create page: 0.106 seconds
