mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-15 09:04:45 +00:00
parent
a7884cf04f
commit
5d19667f2d
@ -25,10 +25,12 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
contentWidth: contentItem.width
|
contentWidth: contentItem.width
|
||||||
|
contentHeight: contentItem.height
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: contentItem
|
id: contentItem
|
||||||
width: profileContentWidth
|
width: profileContentWidth
|
||||||
|
height: childrenRect.height
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: image
|
id: image
|
||||||
|
@ -57,7 +57,6 @@ Item {
|
|||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: titleRow
|
id: titleRow
|
||||||
width: root.contentWidth
|
width: root.contentWidth
|
||||||
height: childrenRect.height
|
|
||||||
spacing: 0
|
spacing: 0
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.preferredWidth: (parent.width - Style.current.padding)
|
Layout.preferredWidth: (parent.width - Style.current.padding)
|
||||||
@ -92,6 +91,8 @@ Item {
|
|||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: Style.current.padding
|
||||||
padding: 0
|
padding: 0
|
||||||
width: root.contentWidth
|
width: root.contentWidth
|
||||||
|
contentWidth: availableWidth
|
||||||
|
contentHeight: contentLayout.implicitHeight
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: contentLayout
|
id: contentLayout
|
||||||
|
@ -174,7 +174,7 @@ ColumnLayout {
|
|||||||
let processedButtons = 0;
|
let processedButtons = 0;
|
||||||
|
|
||||||
while (!itemAt(currentIndex).enabled) {
|
while (!itemAt(currentIndex).enabled) {
|
||||||
if (++processedButtons == count) {
|
if (++processedButtons === count) {
|
||||||
currentIndex = -1;
|
currentIndex = -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -183,7 +183,6 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
StatusTabButton {
|
StatusTabButton {
|
||||||
enabled: localAccountSensitiveSettings.communitiesEnabled
|
|
||||||
width: enabled ? implicitWidth : 0
|
width: enabled ? implicitWidth : 0
|
||||||
text: qsTr("Communities")
|
text: qsTr("Communities")
|
||||||
onEnabledChanged: showcaseTabBar.validateCurrentIndex()
|
onEnabledChanged: showcaseTabBar.validateCurrentIndex()
|
||||||
|
@ -23,7 +23,7 @@ Loader {
|
|||||||
property var messageStore
|
property var messageStore
|
||||||
property var usersStore
|
property var usersStore
|
||||||
property var contactsStore
|
property var contactsStore
|
||||||
property var messageContextMenu
|
property var messageContextMenu: null
|
||||||
property string channelEmoji
|
property string channelEmoji
|
||||||
property bool isActiveChannel: false
|
property bool isActiveChannel: false
|
||||||
|
|
||||||
@ -481,7 +481,7 @@ Loader {
|
|||||||
disableHover: root.disableHover ||
|
disableHover: root.disableHover ||
|
||||||
(root.chatLogView && root.chatLogView.flickingVertically) ||
|
(root.chatLogView && root.chatLogView.flickingVertically) ||
|
||||||
activityCenterMessage ||
|
activityCenterMessage ||
|
||||||
root.messageContextMenu.opened ||
|
(root.messageContextMenu && root.messageContextMenu.opened) ||
|
||||||
!!Global.profilePopupOpened ||
|
!!Global.profilePopupOpened ||
|
||||||
!!Global.popupOpened
|
!!Global.popupOpened
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user