> [Eric Boudaillier]
> > I just begin to use tile for a new application under Windows
> > 2000. I notice that ttk::entry and ttk::combobox are not the
> > same height: the combobox is taller, which don't give a nice
> > visual effect when both are mixed. I did not notice that on
> > other win32 application. This might be due to the selection rectangle.
Could be. Is the combobox too tall, or is the entry widget
too short, as compared to other applications?
> > Is there a way to make them the same height ?
Please file a bug report at SF and I'll take a look at it
next time I boot into Windows.
[Jeff Hobbs]
> It may be that the combobox is sizing to the dropdown button
> next to it.
That's also possible. Another possibility is that the
internal padding is different. I haven't looked at it
too closely except on Windows XP, and even there most
of the measurements were determined by eyeballing other
Windows apps (not all of which are consistent either).
> If you have them in the same grid row, then you
> just need to set the resize parameters appropriately to get
> the effect you want.
The dropdown button is built into the combobox, it's not
a separate widget. But using '-sticky ns' for entries and
comboboxes on the same row migh a good idea in any case,
since they are likely to have different natural heights
in other themes. (In the default X11 theme, for instance,
comboboxes are _shorter_ than entries. Probably ought to
fix that too...)
--Joe English
jen...@fl...
|