changeset 13542:026112e09c7e draft

(svn r18064) -Codechange: make the sticky box size to the height of the title bar preventing glitches with larger fonts
author rubidium <rubidium@openttd.org>
date Fri, 13 Nov 2009 20:10:13 +0000
parents 52abfe830fd7
children 2896c84f76d7
files src/widget.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -1980,7 +1980,7 @@
 			break;
 
 		case WWT_STICKYBOX:
-			this->SetFill(false, false);
+			this->SetFill(false, true);
 			this->SetMinimalSize(WD_STICKYBOX_WIDTH, 14);
 			this->SetDataTip(STR_NULL, STR_TOOLTIP_STICKY);
 			break;