Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 34b4de166e5bdd5cda3bedb622f2600077abfccb
Ticket: 629160ffffffffffffffffffffffffffffffffff
[text] xview and right/center justify in
User & Date: pcmacdon on 2002-10-26 17:53:48
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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]"    
        
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "pcmacdon"
  9. subsystem changed to: "None"
  10. title changed to: "[text] xview and right/center justify in"
  11. type changed to: "Bug"