mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
fix: change chat rectangle width to match designs
This commit is contained in:
parent
8890805a14
commit
9e8ecd69e9
@ -37,7 +37,7 @@ Item {
|
||||
Rectangle {
|
||||
readonly property int defaultMessageWidth: 400
|
||||
readonly property int defaultMaxMessageChars: 54
|
||||
readonly property int messageWidth: Math.max(defaultMessageWidth, parent.width / 2)
|
||||
readonly property int messageWidth: Math.max(defaultMessageWidth, parent.width / 1.4)
|
||||
readonly property int maxMessageChars: (defaultMaxMessageChars * messageWidth) / defaultMessageWidth
|
||||
property int chatVerticalPadding: isImage ? 4 : 6
|
||||
property int chatHorizontalPadding: isImage ? 0 : 12
|
||||
|
Loading…
x
Reference in New Issue
Block a user