File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ grid $sa -row $row -rowspan 6 -column 0 -sticky w -padx {10 0} -pady {5 0}
54
54
#
55
55
set l [ttk::label $cf .l$row -text " Release:" ]
56
56
grid $l -row $row -column 1 -sticky w -padx {10 0} -pady {5 0}
57
- ttk::style map TCombobox -fieldbackground {readonly white}
57
+ ttk::style map TCombobox -fieldbackground \
58
+ [list {readonly focus} lightYellow readonly white]
58
59
set cb [ttk::combobox $cf .cb -state readonly -width 14]
59
60
grid $cb -row $row -column 2 -sticky w -padx {5 10} -pady {5 0}
60
61
@@ -284,13 +285,12 @@ proc configTablelist {} {
284
285
-scrollmargin 0 -hscrollmode none]
285
286
286
287
#
287
- # Unfortunately, the iwidgets::scrolledframe widget has
288
- # no built-in equivalents of the BWidget ScrollableFrame
289
- # widget options -constrainedwidth and -yscrollincrement
288
+ # Unfortunately, the iwidgets::scrolledframe widget has no built-in
289
+ # equivalent of the BWidget ScrollableFrame option -constrainedwidth:
290
290
#
291
291
set canvas [$sf component canvas]
292
292
bind $canvas <Configure> {
293
- %W itemconfigure frameTag -width [winfo width %W]
293
+ %W itemconfigure frameTag -width %w
294
294
}
295
295
$canvas configure -background $::bg
296
296
Original file line number Diff line number Diff line change @@ -68,8 +68,9 @@ foreach country $countryList capital $capitalList {
68
68
69
69
set capitalList [lsort $capitalList ]
70
70
71
- ttk::style map TCombobox -fieldbackground {readonly white}
72
- set btnStyle [expr {$::ttk::currentTheme eq " aqua" ? " TButton" : " Toolbutton" }]
71
+ ttk::style map TCombobox -fieldbackground \
72
+ [list {readonly focus} lightYellow readonly white]
73
+ set btnStyle [expr {$ttk::currentTheme eq " aqua" ? " TButton" : " Toolbutton" }]
73
74
74
75
set row 0
75
76
foreach country $countryList {
You can’t perform that action at this time.
0 commit comments