Greetings all;

I'd like to suggest an additional description of the spinbox attribute 
<width> as shown on the current page 484 of Documentation.pdf as it 
exists in Master.  In the code example, the addition of a 
<width>("4")</width> will be found to control this wigits width with the 
4 apparently being interpreted as 4*chosen font's character width. 
Definitely not in pixels, but in character boxes.  I found this quite by 
accident, thanks to Phillip pointing out characters in Andy's post that 
my keyboard can't even produce.  Pure serendipity that led to some 
experimentation.

The example shown is w/o that attribute, note the large white space 
between the number display on the left and the up/down icon on the 
right. I'm useing a format string of 1.2f, in this instance which is 4 
characters, but the period is quite narrow, so there is still about 1/2 
character of wasted space with the above ("4") width setting. I may yet 
goto a 1.3F format and resolution as I think that would better match the 
servo-thread period.

At no point in the general gfx discussion is this syntax shown or 
discussed, so I've no clue if it applies to any other wigits but the 
spinbox. That bears investigation and clarification as it would be a 
valuable tool to artisticly create good looking extra panels.

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to