diff options
author | fvogel <fvogelnew1@free.fr> | 2016-01-04 17:34:53 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-01-04 17:34:53 (GMT) |
commit | 915557944f9230377dfa08852f0f51d1c6e9dadf (patch) | |
tree | 138f9ba7372842e40ff1265054b7835e38ca6cc5 /win/tkWinScrlbr.c | |
parent | 1a7d3ba3cabd12bbfac8cf8a06c1cc2b755ce3dc (diff) | |
download | tk-915557944f9230377dfa08852f0f51d1c6e9dadf.zip tk-915557944f9230377dfa08852f0f51d1c6e9dadf.tar.gz tk-915557944f9230377dfa08852f0f51d1c6e9dadf.tar.bz2 |
Fixed bug [1510538] - Wrong initial scrollbar widthbug_1510538fff
Diffstat (limited to 'win/tkWinScrlbr.c')
-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, |