Skip to content

Commit

Permalink
Restore content width in landscape as per discussion in #540
Browse files Browse the repository at this point in the history
  • Loading branch information
Wunderfitz committed Dec 3, 2023
1 parent b2363af commit c1ab982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qml/pages/ChatPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ Page {
readonly property int profileThumbnailDimensions: showUserInfo ? Theme.itemSizeSmall : 0
readonly property int pageMarginDouble: 2 * Theme.horizontalPageMargin
readonly property int paddingMediumDouble: 2 * Theme.paddingMedium
readonly property int entryWidth: Functions.isWidescreen(appWindow) ? chatView.width * 0.75 : chatView.width - pageMarginDouble
readonly property int entryWidth: chatView.width - pageMarginDouble
readonly property int textItemWidth: entryWidth - profileThumbnailDimensions - Theme.paddingSmall
readonly property int backgroundWidth: page.isChannel ? textItemWidth : textItemWidth - pageMarginDouble
readonly property int backgroundRadius: textItemWidth/50
Expand Down

0 comments on commit c1ab982

Please sign in to comment.