From 71507273ae860c446d2e9db3742b7ebdd3be1c93 Mon Sep 17 00:00:00 2001 From: rachytski Date: Tue, 5 Jun 2012 12:33:20 +0400 Subject: [PATCH] better visual appearance for button with multi-string text. --- gui/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/button.cpp b/gui/button.cpp index d9b79e9915..2be19483cf 100644 --- a/gui/button.cpp +++ b/gui/button.cpp @@ -107,7 +107,7 @@ namespace gui m2::RectD tr(m_textView->roughBoundRect()); m2::RectD rc(0, 0, tr.SizeX(), tr.SizeY()); - rc.Inflate(20 * k, 10 * k); + rc.Inflate(15 * k, 5 * k); double dx = 0; double dy = 0;