Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread John Thornton
And you can use padx and pady on some widgets to align stuff... JT On 1/24/2016 8:03 PM, Gene Heskett wrote: > How do I go about setting the vertical size of a ... > construction? > > How do I set the vertical position of the text? > > How do I move the led so as to center it in the box? > >

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread Gene Heskett
On Monday 25 January 2016 06:33:48 John Thornton wrote: > As far as I know you can't set the size of a container as it > grows/shrinks to fit the objects it contains. You can however set the > size of the led as well as padding. > > http://linuxcnc.org/docs/2.7/html/gui/pyvcp.html#_leds > > JT

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread John Thornton
Also note that you can use a blank label as a spacer add spaces for horizontal spacing. Put some blank labels into a container for more spacing. JT On 1/24/2016 8:03 PM, Gene Heskett wrote: > How do I go about setting the vertical size of a ... > construction? > > How do I set the vertical

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread John Thornton
can you attach the xml file so I can "see" what your seeing? JT On 1/24/2016 8:03 PM, Gene Heskett wrote: > How do I go about setting the vertical size of a ... > construction? > > How do I set the vertical position of the text? > > How do I move the led so as to center it in the box? > >

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread John Thornton
and in about an hour more info will be in the docs... JT On 1/24/2016 8:03 PM, Gene Heskett wrote: > How do I go about setting the vertical size of a ... > construction? > > How do I set the vertical position of the text? > > How do I move the led so as to center it in the box? > > Thanks

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread Gene Heskett
On Monday 25 January 2016 07:51:31 John Thornton wrote: > Also note that you can use a blank label as a spacer add spaces for > horizontal spacing. Put some blank labels into a container for more > spacing. > > JT > I don't want to put more space in John, I want to take it out, its excessive. I

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread Gene Heskett
On Monday 25 January 2016 08:31:58 John Thornton wrote: > can you attach the xml file so I can "see" what your seeing? > > JT Attached. Its the one that generated the snapshot. If I reduce the widths of the leds, the first one on the left stays moderately well centered horizontally, but the

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread John Thornton
We got an inch and it's gone now :) Attach the xml file so I can "see" what your seeing. JT On 1/25/2016 10:53 AM, Gene Heskett wrote: > On Monday 25 January 2016 07:51:31 John Thornton wrote: > >> Also note that you can use a blank label as a spacer add spaces for >> horizontal spacing. Put

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread John Thornton
Here you go Gene. JT On 1/25/2016 12:04 PM, Gene Heskett wrote: On Monday 25 January 2016 08:31:58 John Thornton wrote: can you attach the xml file so I can "see" what your seeing? JT Attached. Its the one that generated the snapshot. If I reduce the widths of the leds, the first one on

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread Gene Heskett
On Monday 25 January 2016 15:45:45 John Thornton wrote: > Here you go Gene. > > JT > That is considerably better John, thanks a bunch. Now I'll have to do some blink compares to see if I can learn. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot,

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread John Thornton
As far as I know you can't set the size of a container as it grows/shrinks to fit the objects it contains. You can however set the size of the led as well as padding. http://linuxcnc.org/docs/2.7/html/gui/pyvcp.html#_leds JT On 1/24/2016 8:03 PM, Gene Heskett wrote: > How do I go about

Re: [Emc-users] pyvcp/xml syntax

2016-01-25 Thread TJoseph Powderly
for the 3 q's basicly you dont you dont you dont pyvcp uses a simplified render-er and 'mini-gl' you can put empty looking things to push what you want into a vertical/horizontal/centered position read the src code i made custom libs to allow more of the common markup attributes it was not

[Emc-users] pyvcp/xml syntax

2016-01-24 Thread Gene Heskett
How do I go about setting the vertical size of a ... construction? How do I set the vertical position of the text? How do I move the led so as to center it in the box? Thanks pyvcp experts. :) A URL link would be great, but my google-foo hasn't found one. Cheers, Gene Heskett -- "There