Em ter., 29 de set. de 2020 às 14:26, matthew brandi <mfbrandi@outlook.com> escreveu:
On 29/09/2020 16:05, Alexandre Torres Porres wrote:
> I also updated …
> the iemguis' help file to show how you can set labels with spaces too.

If I set a label with an escaped space per the help file, and I then right click on
the nbx and select properties, I get a TCL unhandled error message (and no properties
window):

I actually know that but didn't say it :/ sorry

there's already a fix for this and hopefully this will be merged and work on the next update ;) 
 

<quote>
(Tcl) UNHANDLED ERROR: wrong # args: should be "pdtk_iemgui_dialog mytoplevel
mainheader dim_header wdt min_wdt wdt_label hgt min_hgt hgt_label rng_header min_rng
min_rng_label max_rng max_rng_label rng_sched lin0_log1 lilo0_label lilo1_label
loadbang steady num_label num snd rcv gui_name gn_dx gn_dy gn_f gn_fs bcol fcol lcol"
    while executing
"pdtk_iemgui_dialog .gfxstub558554bfed90 |nbx|
-------dimensions(digits)(pix):------- 5 1 width: 14 8 height:
-----------output..."
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $docmds"
</quote>

I attach an example patch, but I can do this directly in the “pd font/label” subpatch
of the “pd properties” subpatch of numbox2-help.pd. (Pd version 0.51.2 on Linux.)

It does seem to be the space that is the problem: try [symbol no_space( in the
example patch.

Is this a known bug? Is it just me?

Best

m

--
matthew brandi
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list