diff options
author | fvogelnew1@free.fr <fvogel> | 2016-01-04 17:34:53 (GMT) |
---|---|---|
committer | fvogelnew1@free.fr <fvogel> | 2016-01-04 17:34:53 (GMT) |
commit | 1272c79e0b4db90f9c28a1e55cc1b01fa5c8bef2 (patch) | |
tree | 138f9ba7372842e40ff1265054b7835e38ca6cc5 /win | |
parent | b21bc4618d3a156f09fdd00d46854de0ce67e3d1 (diff) | |
download | tk-1272c79e0b4db90f9c28a1e55cc1b01fa5c8bef2.zip tk-1272c79e0b4db90f9c28a1e55cc1b01fa5c8bef2.tar.gz tk-1272c79e0b4db90f9c28a1e55cc1b01fa5c8bef2.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, |