diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/MenuItem.cc | 4 |
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 | ||