From 8c5d63d069fe7f1ddd8bca295e5b07391894fe5d Mon Sep 17 00:00:00 2001 From: culler Date: Fri, 29 Mar 2019 17:37:53 +0000 Subject: Added a comment. --- macosx/ttkMacOSXTheme.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}; -- cgit v0.12