|
|
|
@ -53,7 +53,7 @@ Item {
|
|
|
|
Layout.preferredWidth: acticityLayout.implicitWidth ? Math.min(acticityLayout.implicitWidth + FishUI.Units.largeSpacing,
|
|
|
|
Layout.preferredWidth: acticityLayout.implicitWidth ? Math.min(acticityLayout.implicitWidth + FishUI.Units.largeSpacing,
|
|
|
|
rootItem.width / 2)
|
|
|
|
rootItem.width / 2)
|
|
|
|
: 0
|
|
|
|
: 0
|
|
|
|
onClicked: acticityMenu.open()
|
|
|
|
onRightClicked: acticityMenu.open()
|
|
|
|
|
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
RowLayout {
|
|
|
|
id: acticityLayout
|
|
|
|
id: acticityLayout
|
|
|
|
@ -141,7 +141,10 @@ Item {
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.preferredWidth: _controlerLayout.implicitWidth + FishUI.Units.largeSpacing
|
|
|
|
Layout.preferredWidth: _controlerLayout.implicitWidth + FishUI.Units.largeSpacing
|
|
|
|
|
|
|
|
|
|
|
|
onClicked: {
|
|
|
|
onClicked: toggleDialog()
|
|
|
|
|
|
|
|
onRightClicked: toggleDialog()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function toggleDialog() {
|
|
|
|
if (controlDialog.visible)
|
|
|
|
if (controlDialog.visible)
|
|
|
|
controlDialog.visible = false
|
|
|
|
controlDialog.visible = false
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
|