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 | 18f2e055949cc582c141a44e02850c9025c109fc (patch) | |
tree | 138f9ba7372842e40ff1265054b7835e38ca6cc5 /win | |
parent | 9259fa5d91aa5081cd7bfb8f1458d4310c4ace98 (diff) | |
download | tk-18f2e055949cc582c141a44e02850c9025c109fc.zip tk-18f2e055949cc582c141a44e02850c9025c109fc.tar.gz tk-18f2e055949cc582c141a44e02850c9025c109fc.tar.bz2 |
Fixed bug [1510538] - Wrong initial scrollbar width
Diffstat (limited to 'win')
-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, |