|
From: Joe E. <jen...@fl...> - 2005-11-02 21:04:28
|
[ Catching up on email backlog ... ] Several weeks ago, Bryan Oakley wrote: > In the tile treeview it doesn't seem possible to change the anchor of > the text in a column heading. Is this an intentional design decision > either at the widget or style level? It seems like either the heading > ought to have the same anchor as the column, or there should be a > 'heading $column -anchor' option. This was an accidental oversight -- [$tv heading $column -anchor] ought to work. This *would* be trivial to add, except for some quirks in the way that the text, image, label, and heading elements are currently put together; it'll just take a bit of shuffling around. Questions: what should the default -anchor be? Centered? Would anyone object if I added an -anchor option that doesn't work right now, but will maybe eventually work someday? :-) Also, a heads up to any ttk::treeview users: I plan to change the default bindings so that clicking on an item will no longer automatically select it (see #1328192 for the rationale). Right now, ttk::treeview does the right thing for many common cases, but it's really, really hard to make it Not Do That for those cases where the current behavior isn't desired. It'd be better for the treeview to do less by default (as long as there's an easy way to make it do more, which currently isn't the case either.) --Joe English jen...@fl... |