diff --git a/applet/contents/ui/main.qml b/applet/contents/ui/main.qml --- a/applet/contents/ui/main.qml +++ b/applet/contents/ui/main.qml @@ -270,31 +270,46 @@ id: feedback } - PlasmaComponents.TabBar { - id: tabBar + RowLayout { + id: tabBarRow anchors { top: parent.top left: parent.left right: parent.right } - PlasmaComponents.TabButton { - id: devicesTab - text: i18n("Devices") + PlasmaComponents.TabBar { + id: tabBar + Layout.fillWidth: true + + PlasmaComponents.TabButton { + id: devicesTab + text: i18n("Devices") + } + + PlasmaComponents.TabButton { + id: streamsTab + text: i18n("Applications") + } } - PlasmaComponents.TabButton { - id: streamsTab - text: i18n("Applications") + PlasmaComponents.ToolButton { + Layout.alignment: Qt.AlignBottom + tooltip: plasmoid.action("configure").text + iconName: "configure" + Accessible.name: tooltip + onClicked: { + plasmoid.action("configure").trigger(); + } } } PlasmaExtras.ScrollArea { id: scrollView; anchors { - top: tabBar.bottom + top: tabBarRow.bottom topMargin: units.smallSpacing left: parent.left right: parent.right