ActionToolbar is no longer needed now there is only 1 button
This commit is contained in:
@@ -95,23 +95,19 @@ RowLayout {
|
|||||||
window: QQC2.ApplicationWindow.window as Kirigami.ApplicationWindow
|
window: QQC2.ApplicationWindow.window as Kirigami.ApplicationWindow
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
QQC2.ToolButton {
|
||||||
Kirigami.ActionToolBar {
|
|
||||||
alignment: Qt.AlignRight
|
|
||||||
display: QQC2.Button.IconOnly
|
display: QQC2.Button.IconOnly
|
||||||
|
action: Kirigami.Action {
|
||||||
Layout.fillWidth: true
|
text: i18n("Open Settings")
|
||||||
Layout.preferredWidth: maximumContentWidth
|
icon.name: "settings-configure-symbolic"
|
||||||
|
onTriggered: {
|
||||||
actions: [
|
NeoChatSettingsView.open();
|
||||||
Kirigami.Action {
|
|
||||||
text: i18n("Open Settings")
|
|
||||||
icon.name: "settings-configure-symbolic"
|
|
||||||
onTriggered: {
|
|
||||||
NeoChatSettingsView.open();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
|
|
||||||
|
QQC2.ToolTip.text: text
|
||||||
|
QQC2.ToolTip.visible: hovered
|
||||||
|
QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||||
}
|
}
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
|
|||||||
Reference in New Issue
Block a user