Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

difference between label and ttk::label?

60 views
Skip to first unread message

rene

unread,
May 30, 2016, 5:54:32 AM5/30/16
to
Hi

Trying the following code in tk8.6.5:

label .l -text abcdefg123455 -width 5
ttk::label .t -text abcdefg123455 -width 5
grid .l
grid .t

gives for me different results.
The label displays correctly.
The ttk::label ignores the anchor.

Can other confirm this?


Thank you
rene

Gerald W. Lester

unread,
May 30, 2016, 9:35:27 AM5/30/16
to
You do not have an -anchor option on either one.

--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+

Alexandru

unread,
May 30, 2016, 5:42:03 PM5/30/16
to
I can confirm, that the results are different. If you remove the -width option, the results are the same.
>
>
> Thank you
> rene

0 new messages