Overview
Artifact ID: | 195653b5264d4db915b8a3d98ae7c653b223b169 |
---|---|
Ticket: | 8b1cc43f740e54b1148e332fde8f6566b40a1f78
tabs: numeric justification is not working |
User & Date: | bll 2017-07-04 22:18:23 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
From the test script, it can be seen in the 'c' and 'e' characters that right,center,left are working. Numeric is not aligned to the decimal point. package require Tk set fixedFont {"Courier New" -12} frame .f -width 100 -height 20 pack .f -side left text .t -font $fixedFont -width 60 -height 10 pack .t -expand 1 -fill both .t delete 1.0 end .t tag configure x -tabs [list 30 left 60 right 90 left 120 right 140 left] .t tag configure z -tabs [list 30 numeric 60 numeric 90 numeric 120 numeric 140 left] .t tag configure c -tabs [list 30 center 60 center 90 center 120 center 140 left] .t tag configure y -tabs [list 30 60 90 120 140] .t insert 1.0 "a\tb\tc\td\te\tmixed\n" .t insert 2.0 "1.5\t1.4\t1.3\t1.2\t1.1\tnumeric\n" .t insert 3.0 "a\tb\tc\td\te\tcenter\n" .t insert 4.0 "a\tb\tc\td\te\tleft\n" .t tag add x 1.0 2.0 .t tag add z 2.0 3.0 .t tag add c 3.0 4.0 .t tag add y 4.0 end
- foundin changed to: "revised_text"
- is_private changed to: "0"
- login: "bll"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "bll"
- subsystem changed to: "18. [text]"
- title changed to: "tabs: numeric justification is not working"
- type changed to: "Bug"