aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorakir <akir>2004-09-01 07:53:45 (GMT)
committerakir <akir>2004-09-01 07:53:45 (GMT)
commitb12ce691bc59fcb491e63f43040804d471d712c9 (patch)
tree9bd04a2e07a94bf5de527b4ad9e923a8c338bede /src/FbTk
parentefcca46a8305c0b9d29d0570e1bb6d91f29fcb17 (diff)
downloadfluxbox_pavel-b12ce691bc59fcb491e63f43040804d471d712c9.zip
fluxbox_pavel-b12ce691bc59fcb491e63f43040804d471d712c9.tar.bz2
fix width for a menuentry, added too much space
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/MenuItem.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/MenuItem.cc b/src/FbTk/MenuItem.cc
index ee1db93..137facd 100644
--- a/src/FbTk/MenuItem.cc
+++ b/src/FbTk/MenuItem.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: MenuItem.cc,v 1.6 2004/08/29 08:33:13 rathnor Exp $ 22// $Id: MenuItem.cc,v 1.7 2004/09/01 07:53:45 akir Exp $
23 23
24#include "MenuItem.hh" 24#include "MenuItem.hh"
25#include "Command.hh" 25#include "Command.hh"
@@ -247,7 +247,7 @@ unsigned int MenuItem::width(const MenuTheme &theme) const {
247 if (m_icon.get() == 0) 247 if (m_icon.get() == 0)
248 return normal; 248 return normal;
249 else 249 else
250 return normal + 2 * (theme.bevelWidth() + height(theme)); 250 return normal + height(theme);
251 251
252} 252}
253 253