Overview
Artifact ID: | ee2028b288180cda3c11ecfd26c74451136d72fb |
---|---|
Ticket: | 0421e91b58be27c1abe5cf7491e19984ddf7e380
right adjusted text doesn't wrap properly when the window size is reduced |
User & Date: | bll 2017-07-05 02:56:05 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Using the following script, reduce the window size. The right adjusted text simply disappears from the display. (Could both centered and right adjusted wrapping algorithms (for text) be much simpler?) package require Tk set fixedFont {"Courier New" -12} frame .f -width 100 -height 20 pack .f -side left text .t -font $fixedFont -width 40 -height 10 pack .t -expand 1 -fill both .t configure -wrap char -highlightthickness 0 -borderwidth 0 -padx 0 -pady 0 .t delete 1.0 end .t configure -width 40 -padx 0 -highlightthickness 0 -border 0 update .t tag configure x -tabs [list 280] .t tag configure y -tabs [list 280 center] .t tag configure z -tabs [list 280 right] .t insert 1.0 "left\tabcdef\n" .t insert end "center\tabcdef\n" .t insert end "right\tabcdef\n" .t insert end "1234567890123456789012345678901234567890\n" .t tag add x 1.0 2.0 .t tag add y 2.0 3.0 .t tag add z 3.0 4.0
- 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:
right adjusted text doesn't wrap properly when the window size is reduced
- type changed to: "Bug"