how to shorten the Spinbox?

More
7 years 9 months ago #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 to join the conversation.

More
7 years 9 months ago #123570 by tommylight
Picture ? Screenshot ?

Please Log in to join the conversation.

More
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

Please Log in to join the conversation.

More
7 years 9 months ago #123578 by 3D-Master
This is a picture from google but it looks the same like on my config.

Please Log in to join the conversation.

More
7 years 2 weeks ago #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 to join the conversation.

More
7 years 2 weeks ago #147748 by tommylight
Usually an xml file in the same directory as the config.

Please Log in to join the conversation.

More
7 years 2 weeks ago #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 to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum