- Posts: 44
- Thank you received: 8
2.9 axis with 1366x768
3 years 2 months ago #276857
by daiman444
2.9 axis with 1366x768 was created by daiman444
Hi all. I decided to switch to 2.9 and after installing it I ran into a problem that the axis does not fit into the 1366x768 resolution in height. Are there any solutions for this or will it be necessary to edit the axis source?
Please Log in or Create an account to join the conversation.
- besriworld
- Offline
- Platinum Member
-
Less
More
- Posts: 327
- Thank you received: 92
3 years 2 months ago #276858
by besriworld
Replied by besriworld on topic 2.9 axis with 1366x768
Please Log in or Create an account to join the conversation.
3 years 2 months ago #276867
by daiman444
Replied by daiman444 on topic 2.9 axis with 1366x768
to fix this, you need to replace the divisor for "dpi_value" in the /usr/bin/axis file on line 125. the default was 72. replaced by 75 now the axis of norms expands to full screen:
root_window.tk.call('tk', 'scaling', '-displayof', '.', dpi_value / 75)
root_window.tk.call('tk', 'scaling', '-displayof', '.', dpi_value / 75)
The following user(s) said Thank You: besriworld
Please Log in or Create an account to join the conversation.
- besriworld
- Offline
- Platinum Member
-
Less
More
- Posts: 327
- Thank you received: 92
3 years 2 months ago #276875
by besriworld
Replied by besriworld on topic 2.9 axis with 1366x768
Do you only have a problem with axis? Gmoccapy is displayed correctly?
Please Log in or Create an account to join the conversation.
3 years 2 months ago #276879
by daiman444
Replied by daiman444 on topic 2.9 axis with 1366x768
yes gmoccapi has the same problem but i don't use itDo you only have a problem with axis? Gmoccapy is displayed correctly?
Please Log in or Create an account to join the conversation.
3 years 2 months ago #276902
by cakeslob
Replied by cakeslob on topic 2.9 axis with 1366x768
no screen (currently supported) will fit that height resolution if you have the windows bar thing.
I have 2 solutions for right now, and I will toss up another simple one later
This is my current WIP one, with many customize options. it will fit. I use it with 800x480 and 1024x768. Im sorry if some stuff doesnt translate, I dont know how it will act with translations
www.forum.linuxcnc.org/21-axis/49372-reg...od-based-on-plasmac2
This is the first one I made, it fits 800x480. It might make the text a bit small for you
www.forum.linuxcnc.org/21-axis/38188-sol...screen-w-usercommand
I think if you remove the max velocity slider and the active gcode label, it will fit. I can try to whip that up after work. I suggest trying out the first one though.
I have 2 solutions for right now, and I will toss up another simple one later
This is my current WIP one, with many customize options. it will fit. I use it with 800x480 and 1024x768. Im sorry if some stuff doesnt translate, I dont know how it will act with translations
www.forum.linuxcnc.org/21-axis/49372-reg...od-based-on-plasmac2
This is the first one I made, it fits 800x480. It might make the text a bit small for you
www.forum.linuxcnc.org/21-axis/38188-sol...screen-w-usercommand
I think if you remove the max velocity slider and the active gcode label, it will fit. I can try to whip that up after work. I suggest trying out the first one though.
The following user(s) said Thank You: daiman444
Please Log in or Create an account to join the conversation.
Time to create page: 0.256 seconds