|
2002-11-15
| ||
| 22:39 | • Ticket [629160ffff] text xview and right/center justify in status still Cl... artifact: 2ef5809e0d user: dkf | |
| 22:39 | • Closed ticket [629160ffff]. artifact: 6887ba2513 user: dkf | |
|
2002-10-26
| ||
| 17:53 | • New ticket [629160ffff]. artifact: 34b4de166e user: pcmacdon | |
[text] xview and right/center justify in
Closed / Invalid629160ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-10-26 17:53:48
There seems to be an interaction between right/center
justification and the text widgets xview command.
To wit, the output of running the following script is:
Xview left: 0 0.25641
Xview right: 0 1
My actual goal is to shrink the text widget to
fit the contents, a feature [text] is sorely missing.
Reproducable script:
#####################################
pack [text .t -width 10 -height 2 -wrap none]
.t tag conf righty -justify left
.t insert end {Here is some random text longer than ten
chars} righty
puts "Xview left: [.t xview]"
.t tag conf righty -justify right
puts "Xview right: [.t xview]"
dkf Closed ticket [629160ffff].
[History diff]2002-11-15 22:39:43
dkfplain2002-11-15 22:39:44
Logged In: YES user_id=79902 Please resubmit to tktoolkit project.
Log in (anonymous is fine) to add a comment.