fix: Community permissions and tokens view horizontal scrolling

This commit is contained in:
Alex Jbanca 2023-06-20 09:55:16 +03:00 committed by Alex Jbanca
parent d5d4bba374
commit 581ba8541b
4 changed files with 8 additions and 2 deletions

View File

@ -24,7 +24,6 @@ SplitView {
isEditState: isEditStateCheckBox.checked isEditState: isEditStateCheckBox.checked
isPrivate: isPrivateCheckBox.checked isPrivate: isPrivateCheckBox.checked
isOwner: isOwnerCheckBox.checked
permissionDuplicated: isPermissionDuplicatedCheckBox.checked permissionDuplicated: isPermissionDuplicatedCheckBox.checked
permissionTypeLimitReached: isLimitReachedCheckBox.checked permissionTypeLimitReached: isLimitReachedCheckBox.checked
@ -38,6 +37,7 @@ SplitView {
readonly property string name: "Socks" readonly property string name: "Socks"
readonly property string image: ModelsData.icons.socks readonly property string image: ModelsData.icons.socks
readonly property string color: "red" readonly property string color: "red"
readonly property string owner: isOwnerCheckBox.checked
} }
onCreatePermissionClicked: { onCreatePermissionClicked: {

View File

@ -170,7 +170,9 @@ StatusScrollView {
} }
onPermissionTypeChanged: Qt.callLater(() => d.loadInitValues()) onPermissionTypeChanged: Qt.callLater(() => d.loadInitValues())
contentWidth: mainLayout.width
contentHeight: mainLayout.height
SequenceColumnLayout { SequenceColumnLayout {
id: mainLayout id: mainLayout

View File

@ -59,6 +59,8 @@ StatusScrollView {
} }
padding: 0 padding: 0
contentWidth: mainLayout.width
contentHeight: mainLayout.height
Component.onCompleted: { Component.onCompleted: {
if(root.isAssetView) if(root.isAssetView)

View File

@ -64,6 +64,8 @@ StatusScrollView {
} }
padding: 0 padding: 0
contentWidth: mainLayout.width
contentHeight: mainLayout.height
ColumnLayout { ColumnLayout {
id: mainLayout id: mainLayout