summaryrefslogtreecommitdiffstats
path: root/win/tkWinScrlbr.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-08 11:20:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-08 11:20:04 (GMT)
commitad92d1add71658e67ba68bc5a21712394ffd8d49 (patch)
treed3220945cb9b1939908a247e5ce9d65c3c1c1746 /win/tkWinScrlbr.c
parent1ce29cc9feab7c14297627f4306c8e1db96bfd09 (diff)
parent915557944f9230377dfa08852f0f51d1c6e9dadf (diff)
downloadtk-ad92d1add71658e67ba68bc5a21712394ffd8d49.zip
tk-ad92d1add71658e67ba68bc5a21712394ffd8d49.tar.gz
tk-ad92d1add71658e67ba68bc5a21712394ffd8d49.tar.bz2
Fixed bug [1510538] - Wrong initial scrollbar width
Diffstat (limited to 'win/tkWinScrlbr.c')
-rw-r--r--win/tkWinScrlbr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinScrlbr.c b/win/tkWinScrlbr.c
index a280626..1b3717e 100644
--- a/win/tkWinScrlbr.c
+++ b/win/tkWinScrlbr.c
@@ -217,10 +217,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(TEXT("SCROLLBAR"), NULL, style,