remove various titles from profile sections

This commit is contained in:
Iuri Matias 2021-03-24 13:44:35 -04:00
parent 4e15002beb
commit 3d2eaa3369
5 changed files with 10 additions and 66 deletions

View File

@ -15,24 +15,12 @@ Item {
Layout.fillHeight: true
Layout.fillWidth: true
StyledText {
id: sectionTitle
//% "Devices"
text: qsTrId("devices")
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: parent.top
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
}
Item {
id: firstTimeSetup
anchors.left: syncContainer.left
anchors.leftMargin: Style.current.padding
anchors.top: sectionTitle.bottom
anchors.topMargin: Style.current.padding
anchors.top: parent.top
anchors.topMargin: 24
anchors.right: syncContainer.right
anchors.rightMargin: Style.current.padding
visible: !profileModel.devices.isSetup
@ -67,7 +55,7 @@ Item {
id: advertiseDeviceItem
anchors.left: syncContainer.left
anchors.leftMargin: Style.current.padding
anchors.top: sectionTitle.bottom
anchors.top: parent.bottom
anchors.topMargin: Style.current.padding
anchors.right: syncContainer.right
anchors.rightMargin: Style.current.padding

View File

@ -8,24 +8,13 @@ import "../../../../../shared/status"
Item {
signal startBtnClicked()
StyledText {
id: sectionTitle
text: ""
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: parent.top
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
}
ScrollView {
id: sview
clip: true
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
contentHeight: contentItem.childrenRect.height
anchors.top: sectionTitle.bottom
anchors.topMargin: Style.current.padding
anchors.top: parent.top
anchors.topMargin: 24
anchors.bottom: startBtn.top
anchors.bottomMargin: Style.current.padding
anchors.left: parent.left

View File

@ -13,23 +13,12 @@ Item {
Item {
width: contentMaxWidth
anchors.horizontalCenter: parent.horizontalCenter
StyledText {
id: title
//% "Language settings"
text: qsTrId("language-settings")
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: parent.top
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
}
RowLayout {
property string currentLocale: appSettings.locale
id: languageSetting
anchors.top: title.bottom
anchors.topMargin: 20
anchors.top: parent.top
anchors.topMargin: 24
anchors.left: parent.left
anchors.leftMargin: 24
StyledText {

View File

@ -13,21 +13,10 @@ Item {
Item {
width: contentMaxWidth
anchors.horizontalCenter: parent.horizontalCenter
StyledText {
id: element5
//% "Sounds settings"
text: qsTrId("sounds-settings")
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: parent.top
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
}
StyledText {
id: labelVolume
anchors.top: element5.bottom
anchors.top: parent.top
anchors.topMargin: Style.current.bigPadding
anchors.left: parent.left
anchors.leftMargin: 24

View File

@ -13,17 +13,6 @@ Item {
Item {
width: contentMaxWidth
anchors.horizontalCenter: parent.horizontalCenter
StyledText {
id: element4
//% "Sync settings"
text: qsTrId("sync-settings")
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: parent.top
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
}
Component {
id: mailserversList
@ -43,8 +32,8 @@ Item {
id: addMailserver
width: parent.width
height: addButton.height
anchors.top: element4.bottom
anchors.topMargin: Style.current.padding
anchors.top: parent.top
anchors.topMargin: 24
anchors.left: parent.left
anchors.leftMargin: 24