how to shorten the Spinbox?

More
05 Jan 2019 14:33 #123547 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

Please Log in or Create an account to join the conversation.

More
05 Jan 2019 22:20 #123570 by tommylight
Picture ? Screenshot ?

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

More
06 Jan 2019 01:13 #123578 by 3D-Master
This is a picture from google but it looks the same like on my config.
Attachments:

Please Log in or Create an account to join the conversation.

More
12 Oct 2019 15:43 #147740 by 3D-Master

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.

More
12 Oct 2019 18:24 #147748 by tommylight
Usually an xml file in the same directory as the config.

Please Log in or Create an account to join the conversation.

More
13 Oct 2019 12:44 #147815 by 3D-Master
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

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum