summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2006-11-24 18:04:14 (GMT)
committerjenglish@flightlab.com <jenglish>2006-11-24 18:04:14 (GMT)
commit9fd3d6dbc814b7c5b881af0c0ff19d27a453ae51 (patch)
tree5b155465341298f1a6a698db16a5c8cd767801a4 /tests
parentd5cd6ca3777b3cbc1486a86350ca40c9edaa03f5 (diff)
downloadtk-9fd3d6dbc814b7c5b881af0c0ff19d27a453ae51.zip
tk-9fd3d6dbc814b7c5b881af0c0ff19d27a453ae51.tar.gz
tk-9fd3d6dbc814b7c5b881af0c0ff19d27a453ae51.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')
-rw-r--r--tests/ttk/entry.test4
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}