diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-01-08 11:21:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-01-08 11:21:01 (GMT) |
commit | 7bec4099c70b8fd5cc9e269e5bf6c7870f45b47a (patch) | |
tree | e110169f764f605e90e105190def4d2e39d6aa83 | |
parent | a628ac05ef4c8b4e74860778cd47409c72682a11 (diff) | |
download | tk-7bec4099c70b8fd5cc9e269e5bf6c7870f45b47a.zip tk-7bec4099c70b8fd5cc9e269e5bf6c7870f45b47a.tar.gz tk-7bec4099c70b8fd5cc9e269e5bf6c7870f45b47a.tar.bz2 |
(cherry-pick) Fixed bug [1510538] - Wrong initial scrollbar width
-rw-r--r-- | win/tkWinScrlbr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinScrlbr.c b/win/tkWinScrlbr.c index 46aad58..fc9685d 100644 --- a/win/tkWinScrlbr.c +++ b/win/tkWinScrlbr.c @@ -218,10 +218,10 @@ CreateProc( if (scrollPtr->info.vertical) { style = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS - | SBS_VERT | SBS_RIGHTALIGN; + | SBS_VERT; } else { style = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS - | SBS_HORZ | SBS_BOTTOMALIGN; + | SBS_HORZ; } scrollPtr->hwnd = CreateWindow("SCROLLBAR", NULL, style, |