mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-04-21 21:52:03 +02:00
callview: change preview width and set minimum value
Gitlab: #104 Change-Id: I13414206cecc548b3ff481f4f0f79574cf0b4a4b
This commit is contained in:
parent
74485a4ac4
commit
873c3d6925
2 changed files with 2 additions and 1 deletions
|
@ -110,6 +110,7 @@ Item {
|
|||
property int preferredMarginSize: 16
|
||||
property int preferredDialogWidth: 400
|
||||
property int preferredDialogHeight: 300
|
||||
property int minimumPreviewWidth: 120
|
||||
|
||||
// Misc.
|
||||
property color white: "white"
|
||||
|
|
|
@ -241,7 +241,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
width: videoCallPageMainRect.width / 4
|
||||
width: Math.max(videoCallPageMainRect.width / 5, JamiTheme.minimumPreviewWidth)
|
||||
height: {
|
||||
previewImageScalingFactorUpdated
|
||||
return previewRenderer.width * previewRenderer.getPreviewImageScalingFactor()
|
||||
|
|
Loading…
Add table
Reference in a new issue