[PD] Menu bar height (differences across platforms)

IOhannes m zmoelnig zmoelnig at iem.at
Thu Feb 16 15:31:01 CET 2017


On 2017-02-16 15:18, IOhannes m zmoelnig wrote:
> if you want to change the size of the Pd-menu, you have to look
> somewhere else...

it seems like that slightly too high menu on X11 is just the way tcl/tk
creates menus on that platform:

just run this script (using wish):
<test.tcl>
 set m [menu .menubar]
 . configure -menu $m
 menu $m.file
 $m add cascade -menu $m.file -label File
</test.tcl>

i'd suggest playing around with that script to find out how to change
the menu height, and then port those ideas back to Pd.
otoh, the manual [1] doesn't offer any obvious solution, so most likely
it is just impossible to change that.

mfgadr
IOhannes


[1] https://www.tcl.tk/man/tcl8.6/TkCmd/menu.htm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170216/fea5f142/attachment.sig>


More information about the Pd-list mailing list