Overview
| Artifact ID: | 34b4de166e5bdd5cda3bedb622f2600077abfccb |
|---|---|
| Ticket: | 629160ffffffffffffffffffffffffffffffffff
[text] xview and right/center justify in |
| User & Date: | pcmacdon on 2002-10-26 17:53:48 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
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]" - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "pcmacdon"
- subsystem changed to: "None"
- title changed to: "[text] xview and right/center justify in"
- type changed to: "Bug"