diff options
author | jenglish <jenglish@flightlab.com> | 2006-11-24 18:04:14 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2006-11-24 18:04:14 (GMT) |
commit | a3220fdf64e35fe118d44af78a8d9582b416fbd7 (patch) | |
tree | 5b155465341298f1a6a698db16a5c8cd767801a4 /tests/ttk | |
parent | 1f9a3b07076ff41b7ee08baa31e992abc40687cc (diff) | |
download | tk-a3220fdf64e35fe118d44af78a8d9582b416fbd7.zip tk-a3220fdf64e35fe118d44af78a8d9582b416fbd7.tar.gz tk-a3220fdf64e35fe118d44af78a8d9582b416fbd7.tar.bz2 |
* library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,
library/ttk/defaults.tcl, library/ttk/winTheme.tcl,
library/ttk/xpTheme.tcl: explicitly specify -anchor w on TMenubutton
* tests/ttk/entry.test: Fixed font dependency; test entry-3.2
should work on all platforms now.
* library/classicTheme.tcl: Don't define or use TkClassicDefaultFont.
* generic/ttk/ttkTreeview.c, generic/ttk/ttkPanedwindow.c:
Handle missing layouts.
Diffstat (limited to 'tests/ttk')
-rw-r--r-- | tests/ttk/entry.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ttk/entry.test b/tests/ttk/entry.test index 0e7acd2..3ac9182 100644 --- a/tests/ttk/entry.test +++ b/tests/ttk/entry.test @@ -77,7 +77,7 @@ test entry-2.1 "Create entry before scrollbar" -body { test entry-2.2 "Initial scroll position" -body { ttk::entry .e -font fixed -width 5 -xscrollcommand scroll .e insert end "0123456789" - pack .e; update idletasks + pack .e; update set scrollInfo } -result {0 0.5} -cleanup { destroy .e } # NOTE: result can vary depending on font. @@ -102,7 +102,7 @@ test entry-3.1 "bbox widget command" -body { test entry-3.2 "xview" -body { .e delete 0 end; - .e insert end [string repeat "M" 40] + .e insert end [string repeat "0" 40] update idletasks set result [.e xview] } -result {0 0.5} |