- Posts: 238
- Thank you received: 0
how to shorten the Spinbox?
7 years 9 months ago #123547
by 3D-Master
how to shorten the Spinbox? was created by 3D-Master
Hello,
i have some Spinboxes in my Pyvc Panel and they are really long but the number displayed would fit more than 3 times inside the box. Is there a way to shorten the box because the Panel is interfering too much with the Axis preview.
Thanks for any help
i have some Spinboxes in my Pyvc Panel and they are really long but the number displayed would fit more than 3 times inside the box. Is there a way to shorten the box because the Panel is interfering too much with the Axis preview.
Thanks for any help
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
7 years 9 months ago #123570
by tommylight
Replied by tommylight on topic how to shorten the Spinbox?
Picture ? Screenshot ?
Please Log in to join the conversation.
7 years 9 months ago #123575
by cmorley
Replied by cmorley on topic how to shorten the Spinbox?
I think typically one puts a label beside it with spaces to set it's length.
Chris M
Chris M
Please Log in to join the conversation.
7 years 9 months ago #123578
by 3D-Master
Replied by 3D-Master on topic how to shorten the Spinbox?
This is a picture from google but it looks the same like on my config.
Please Log in to join the conversation.
7 years 2 weeks ago #147740
by 3D-Master
That didnt work, where is the code for the python widgets so i can have a look at it?
Replied by 3D-Master on topic how to shorten the Spinbox?
I think typically one puts a label beside it with spaces to set it's length.
That didnt work, where is the code for the python widgets so i can have a look at it?
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
7 years 2 weeks ago #147748
by tommylight
Replied by tommylight on topic how to shorten the Spinbox?
Usually an xml file in the same directory as the config.
Please Log in to join the conversation.
7 years 2 weeks ago #147815
by 3D-Master
Replied by 3D-Master on topic how to shorten the Spinbox?
no not the python file for my control panel, i mean the file which creates the spinbox. I have found this but it doesnt seem like there is a definition of how long the spinbox is.
github.com/LinuxCNC/linuxcnc/blob/master...hon/pyvcp_widgets.py
github.com/LinuxCNC/linuxcnc/blob/master...hon/pyvcp_widgets.py
Please Log in to join the conversation.
Time to create page: 0.085 seconds
