From: Pekka Nissinen Date: Thu, 9 Sep 2010 00:12:54 +0000 (+0300) Subject: Made some cosmetic updates to the list item context button bar image files and correc... X-Git-Tag: v2.0b-1~3 X-Git-Url: http://git.maemo.org/git/?p=situare;a=commitdiff_plain;h=44f1744742766932d4229bb07d6c3c2967b11fb2 Made some cosmetic updates to the list item context button bar image files and corrected the affected classes. --- diff --git a/res/images/list_item_context_button_bar_left.png b/res/images/list_item_context_button_bar_left.png old mode 100644 new mode 100755 index 4eb44c1..afbb7d3 Binary files a/res/images/list_item_context_button_bar_left.png and b/res/images/list_item_context_button_bar_left.png differ diff --git a/res/images/list_item_context_button_bar_right.png b/res/images/list_item_context_button_bar_right.png old mode 100644 new mode 100755 index 3eb816b..541126a Binary files a/res/images/list_item_context_button_bar_right.png and b/res/images/list_item_context_button_bar_right.png differ diff --git a/res/images/list_item_context_button_bar_tile.png b/res/images/list_item_context_button_bar_tile.png old mode 100644 new mode 100755 index 2bf223b..8fc908c Binary files a/res/images/list_item_context_button_bar_tile.png and b/res/images/list_item_context_button_bar_tile.png differ diff --git a/src/ui/listitemcontextbuttonbar.cpp b/src/ui/listitemcontextbuttonbar.cpp index 7103244..d3fc517 100644 --- a/src/ui/listitemcontextbuttonbar.cpp +++ b/src/ui/listitemcontextbuttonbar.cpp @@ -39,7 +39,7 @@ ListItemContextButtonBar::ListItemContextButtonBar(QWidget *parent) : qDebug() << __PRETTY_FUNCTION__; // --- BAR LOOK --- - const int BAR_HEIGHT = 78; + const int BAR_HEIGHT = 79; setFixedHeight(BAR_HEIGHT); const int BUTTON_WIDTH = 74; diff --git a/src/ui/panelbase.cpp b/src/ui/panelbase.cpp index 72cd122..5c1ef3b 100644 --- a/src/ui/panelbase.cpp +++ b/src/ui/panelbase.cpp @@ -43,9 +43,9 @@ PanelBase::PanelBase(QWidget *parent) const int CONTEXT_BUTTON_MARGIN_BOTTOM = 0; const int CONTEXT_BUTTON_SPACING = 0; m_genericButtonsLayout->setContentsMargins(CONTEXT_BUTTON_MARGIN_LEFT, - CONTEXT_BUTTON_MARGIN_TOP, - CONTEXT_BUTTON_MARGIN_RIGHT, - CONTEXT_BUTTON_MARGIN_BOTTOM); + CONTEXT_BUTTON_MARGIN_TOP, + CONTEXT_BUTTON_MARGIN_RIGHT, + CONTEXT_BUTTON_MARGIN_BOTTOM); m_genericButtonsLayout->setSpacing(CONTEXT_BUTTON_SPACING); m_genericButtons->setLayout(m_genericButtonsLayout); @@ -54,10 +54,10 @@ PanelBase::PanelBase(QWidget *parent) m_itemButtons = new QWidget(this); m_itemButtonsLayout = new QHBoxLayout; - const int ITEM_CONTEXT_BUTTON_MARGIN_BOTTOM = 0; - const int ITEM_CONTEXT_BUTTON_MARGIN_LEFT = 2; - const int ITEM_CONTEXT_BUTTON_MARGIN_RIGHT = 2; - const int ITEM_CONTEXT_BUTTON_MARGIN_TOP = 2; + const int ITEM_CONTEXT_BUTTON_MARGIN_BOTTOM = 6; + const int ITEM_CONTEXT_BUTTON_MARGIN_LEFT = 6; + const int ITEM_CONTEXT_BUTTON_MARGIN_RIGHT = 6; + const int ITEM_CONTEXT_BUTTON_MARGIN_TOP = 0; const int ITEM_CONTEXT_BUTTON_SPACING = 0; m_itemButtonsLayout->setContentsMargins(ITEM_CONTEXT_BUTTON_MARGIN_LEFT, ITEM_CONTEXT_BUTTON_MARGIN_TOP,