summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-01-04 17:34:53 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-01-04 17:34:53 (GMT)
commit915557944f9230377dfa08852f0f51d1c6e9dadf (patch)
tree138f9ba7372842e40ff1265054b7835e38ca6cc5
parent1a7d3ba3cabd12bbfac8cf8a06c1cc2b755ce3dc (diff)
downloadtk-915557944f9230377dfa08852f0f51d1c6e9dadf.zip
tk-915557944f9230377dfa08852f0f51d1c6e9dadf.tar.gz
tk-915557944f9230377dfa08852f0f51d1c6e9dadf.tar.bz2
Fixed bug [1510538] - Wrong initial scrollbar widthbug_1510538fff
-rw-r--r--win/tkWinScrlbr.c4
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,