From: Russell E. O. <ro...@uw...> - 2012-11-16 18:59:18
|
I'm switching from Tcl/Tk 8.4.x to 8.5.x on MaOS (so I can use modern 64-bit python) and am running into many problems. I've been able to find workarounds for most, but not this one (bug #ID 3587262): menubuttons are often shown far too narrow if the size is automatic*. Here is a demonstration: tk_optionMenu .om omVar DC1 DC2 DC3 .om configure -width 3 # -indicatoron 0 pack .om One oddity is that the display becomes correct if I change the font size (and I can then change it back and it is still right). Does anyone know a simple workaround? I fear I'm going to have to assign a callback to the variable and manually set the width based on the content of the var, but I was hoping for something simpler. I've seen this on MacOS 10.8 using ActiveState Tcl/Tk 8.5.11 and 8.5.12. I understand Tcl/Tk 8.5.13 just came out, but I've not seen an ActiveState installer for that yet. -- Russell *It is a separate bug #3580194 that the width is too narrow if an explicit (nonzero) width is specified. I work around that one by increasing the width on aqua, though my workaround will cause very wide menus if the bug is ever fixed. |