diff options
author | culler <culler> | 2019-03-29 17:37:53 (GMT) |
---|---|---|
committer | culler <culler> | 2019-03-29 17:37:53 (GMT) |
commit | 8c5d63d069fe7f1ddd8bca295e5b07391894fe5d (patch) | |
tree | afc94bfed9b2724629a150b839f5aedd79b1b85e /macosx | |
parent | 700dfd499cdb162bf67964d0db4a4ed6fae93d43 (diff) | |
download | tk-8c5d63d069fe7f1ddd8bca295e5b07391894fe5d.zip tk-8c5d63d069fe7f1ddd8bca295e5b07391894fe5d.tar.gz tk-8c5d63d069fe7f1ddd8bca295e5b07391894fe5d.tar.bz2 |
Added a comment.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index b2a8f2f..f52b963 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -1390,7 +1390,11 @@ static Ttk_ElementSpec ComboboxElementSpec = { * The down button does no drawing when not pressed, and when pressed draws * the entire IncDecButton in its "pressed down" state. The up button draws * the entire IncDecButton when not pressed and when pressed draws the - * IncDecButton in its "pressed up" state. + * IncDecButton in its "pressed up" state. NOTE: This means that when the + * down button is pressed the IncDecButton will be drawn twice, first + * in unpressed state by the up arrow and then in "pressed down" state by + * the down button. The drawing must be done in that order. So the up + * button must be listed first in the layout. */ static Ttk_Padding SpinbuttonMargins = {0, 0, 2, 0}; |