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)
commit5fe75ec95144a18b59a666266c6641acc2380fc2 (patch)
treed3220945cb9b1939908a247e5ce9d65c3c1c1746 /win/tkWinScrlbr.c
parentb0421b782cb838ce34373b7bf875023ff33f3eff (diff)
parent18f2e055949cc582c141a44e02850c9025c109fc (diff)
downloadtk-5fe75ec95144a18b59a666266c6641acc2380fc2.zip
tk-5fe75ec95144a18b59a666266c6641acc2380fc2.tar.gz
tk-5fe75ec95144a18b59a666266c6641acc2380fc2.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,