diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2015-09-30 10:04:55 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2015-09-30 10:04:55 (GMT) |
commit | 0177b19f5667197d0c678ffaf89a09dc6b186ed8 (patch) | |
tree | 9a5198f4b1140e29055878db7278889c1c2875ee | |
parent | bbb4e3d4aab67972c354b55d045c05d2bc949a03 (diff) | |
download | tk-0177b19f5667197d0c678ffaf89a09dc6b186ed8.zip tk-0177b19f5667197d0c678ffaf89a09dc6b186ed8.tar.gz tk-0177b19f5667197d0c678ffaf89a09dc6b186ed8.tar.bz2 |
One more suggestion: Use the value of -sashwidth as default for -proxyborderwidth. It's one pixel different from the current behavior (2 -> 3 pixels), but would be consistant with -proxyrelief vs -sashrelief.
-rw-r--r-- | doc/panedwindow.n | 2 | ||||
-rw-r--r-- | generic/tkPanedWindow.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/panedwindow.n b/doc/panedwindow.n index ce7adc3..0060dcd 100644 --- a/doc/panedwindow.n +++ b/doc/panedwindow.n @@ -35,7 +35,7 @@ value of the \fB-background\fR option will be used. .OP \-proxyborderwidth proxyBorderWidth ProxyBorderWidth Specifies the borderwidth of the proxy. May be any value accepted by \fBTk_GetPixels\fR. If an empty string, the -value of the \fB-borderwidth\fR option will be used. +value of the \fB-sashwidth\fR option will be used. .OP \-proxyrelief proxyRelief ProxyRelief Relief to use when drawing the proxy. May be any of the standard Tk relief values. If an empty string, the value of the \fB-sashrelief\fR diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c index 85180bc..159091f 100644 --- a/generic/tkPanedWindow.c +++ b/generic/tkPanedWindow.c @@ -2785,7 +2785,7 @@ DisplayProxyWindow( Tk_Fill3DRectangle(tkwin, pixmap, pwPtr->proxyBackground ? pwPtr->proxyBackground : pwPtr->background, 0, 0, Tk_Width(tkwin), Tk_Height(tkwin), - pwPtr->proxyBorderWidthPtr ? pwPtr->proxyBorderWidth : pwPtr->borderWidth, + pwPtr->proxyBorderWidthPtr ? pwPtr->proxyBorderWidth : pwPtr->sashWidth, (pwPtr->proxyRelief != TK_RELIEF_NULL) ? pwPtr->proxyRelief : pwPtr->sashRelief); #ifndef TK_NO_DOUBLE_BUFFERING |