@@ -181,29 +181,20 @@ Item {
181181 Component {
182182 id: messagesButtonMenu;
183183
184− Item {
184+ Menus.BaseLayoutMenu {
185185 objectName: "messagesButtonMenu"
186186 property QtObject menuData: null
187187 property var menuModel: menuFactory.menuModel
188188 property int menuIndex: -1
189189
190− implicitHeight: units.gu(5)
190+ highlightWhenPressed: false
191191 enabled: menuData && menuData.sensitive || false
192+ text: menuData && menuData.label || ""
193+ title.color: theme.palette.selected.backgroundText
194+ title.horizontalAlignment: Text.AlignHCenter
195+ title.font.bold: true
192196
193− Label {
194− id: buttonMenuLabel
195− text: menuData && menuData.label || ""
196− anchors.centerIn: parent
197− font.bold: true
198− }
199−
200− MouseArea {
201− anchors {
202− fill: buttonMenuLabel
203− margins: units.gu(-1)
204− }
205− onClicked: menuModel.activate(menuIndex);
206− }
197+ onClicked: menuModel.activate(menuIndex);
207198 }
208199 }
209200