mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
chatviewsettings: fix layout values
Horizontal view show components horizontally in a vertical layout. So, the labels were inverted Change-Id: Iaecfa923ef0a2eb1ec810ab0436dddd4f4ea73e5 GitLab: #571
This commit is contained in:
parent
df7b351fa6
commit
7cc1cddf6c
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue