Skip to content
Snippets Groups Projects
Unverified Commit 7cc1cddf authored by Sébastien Blin's avatar Sébastien Blin
Browse files

chatviewsettings: fix layout values

Horizontal view show components horizontally in a vertical layout.
So, the labels were inverted

Change-Id: Iaecfa923ef0a2eb1ec810ab0436dddd4f4ea73e5
GitLab: #571
parent df7b351f
Branches
Tags
No related merge requests found
......@@ -378,8 +378,8 @@ Item {
property string displayHyperlinkPreviews: qsTr("Display hyperlink previews in the chatview")
property string layout: qsTr("Layout")
property string language: qsTr("User interface language")
property string verticalOpt: qsTr("Vertical view")
property string horizontalOpt: qsTr("Horizontal view")
property string verticalViewOpt: qsTr("Vertical view")
property string horizontalViewOpt: qsTr("Horizontal view")
// File transfer settings
property string fileTransfer: qsTr("File transfer")
......
......@@ -89,8 +89,8 @@ ColumnLayout {
fontPointSize: JamiTheme.settingsFontSize
comboModel: ListModel {
Component.onCompleted: {
append({ textDisplay: JamiStrings.verticalOpt })
append({ textDisplay: JamiStrings.horizontalOpt })
append({ textDisplay: JamiStrings.horizontalViewOpt })
append({ textDisplay: JamiStrings.verticalViewOpt })
}
}
widthOfComboBox: itemWidth
......@@ -101,7 +101,7 @@ ColumnLayout {
onActivated: {
UtilsAdapter.setAppValue(
Settings.Key.ShowChatviewHorizontally,
comboModel.get(modelIndex).textDisplay === JamiStrings.horizontalOpt
comboModel.get(modelIndex).textDisplay === JamiStrings.verticalViewOpt
)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment