how to shorten the Spinbox?
05 Jan 2019 14:33 #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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
05 Jan 2019 22:20 #123570
by tommylight
Replied by tommylight on topic how to shorten the Spinbox?
Picture ? Screenshot ?
Please Log in or Create an account to join the conversation.
05 Jan 2019 22:50 #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 or Create an account to join the conversation.
06 Jan 2019 01:13 #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 or Create an account to join the conversation.
12 Oct 2019 15:43 #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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
12 Oct 2019 18:24 #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 or Create an account to join the conversation.
13 Oct 2019 12:44 #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 or Create an account to join the conversation.
Time to create page: 0.072 seconds