mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 01:27:25 +00:00
fix: fix profile buttons
This commit is contained in:
parent
d775abb9ab
commit
902b23c0ee
@ -29,7 +29,7 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
height: btnheight * 10
|
height: profileMenu.btnheight * 10
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ import "../../../../shared"
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
property alias profileCurrentIndex: profileScreenButtons.currentIndex
|
property alias profileCurrentIndex: profileScreenButtons.currentIndex
|
||||||
readonly property int btnheight: 42
|
readonly property int btnheight: 42
|
||||||
|
readonly property int w: 340
|
||||||
|
|
||||||
id: profileTabBar
|
id: profileTabBar
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
@ -16,7 +17,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabBar {
|
TabBar {
|
||||||
id: profileScreenButtons
|
id: profileScreenButtons
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: 0
|
anchors.bottomMargin: 0
|
||||||
@ -28,7 +29,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: ensTabButton
|
id: ensTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: 0 //profileTabBar.btnheight
|
height: 0 //profileTabBar.btnheight
|
||||||
visible: false
|
visible: false
|
||||||
text: ""
|
text: ""
|
||||||
@ -52,7 +53,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: contactsTabButton
|
id: contactsTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: profileTabBar.btnheight
|
height: profileTabBar.btnheight
|
||||||
text: ""
|
text: ""
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@ -77,7 +78,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: privacyTabButton
|
id: privacyTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: profileTabBar.btnheight
|
height: profileTabBar.btnheight
|
||||||
text: ""
|
text: ""
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@ -102,7 +103,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: syncTabButton
|
id: syncTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: 0 //profileTabBar.btnheight
|
height: 0 //profileTabBar.btnheight
|
||||||
visible: false
|
visible: false
|
||||||
text: ""
|
text: ""
|
||||||
@ -128,7 +129,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: languageTabButton
|
id: languageTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: 0 //profileTabBar.btnheight
|
height: 0 //profileTabBar.btnheight
|
||||||
visible: false
|
visible: false
|
||||||
text: ""
|
text: ""
|
||||||
@ -154,7 +155,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: notificationsTabButton
|
id: notificationsTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: 0 //profileTabBar.btnheight
|
height: 0 //profileTabBar.btnheight
|
||||||
visible: false
|
visible: false
|
||||||
text: ""
|
text: ""
|
||||||
@ -180,7 +181,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: advancedTabButton
|
id: advancedTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: profileTabBar.btnheight
|
height: profileTabBar.btnheight
|
||||||
text: ""
|
text: ""
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@ -205,7 +206,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: helpTabButton
|
id: helpTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: 0 //profileTabBar.btnheight
|
height: 0 //profileTabBar.btnheight
|
||||||
text: ""
|
text: ""
|
||||||
visible: false
|
visible: false
|
||||||
@ -231,7 +232,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: aboutTabButton
|
id: aboutTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: profileTabBar.btnheight
|
height: profileTabBar.btnheight
|
||||||
text: ""
|
text: ""
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@ -256,7 +257,7 @@ Rectangle {
|
|||||||
|
|
||||||
TabButton {
|
TabButton {
|
||||||
id: signoutTabButton
|
id: signoutTabButton
|
||||||
width: profileInfoContainer.w
|
width: profileTabBar.w
|
||||||
height: profileTabBar.btnheight
|
height: profileTabBar.btnheight
|
||||||
text: ""
|
text: ""
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
Loading…
x
Reference in New Issue
Block a user