mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-23 08:13:51 +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 preferredMarginSize: 16
|
||||||
property int preferredDialogWidth: 400
|
property int preferredDialogWidth: 400
|
||||||
property int preferredDialogHeight: 300
|
property int preferredDialogHeight: 300
|
||||||
|
property int minimumPreviewWidth: 120
|
||||||
|
|
||||||
// Misc.
|
// Misc.
|
||||||
property color white: "white"
|
property color white: "white"
|
||||||
|
|
|
@ -241,7 +241,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
width: videoCallPageMainRect.width / 4
|
width: Math.max(videoCallPageMainRect.width / 5, JamiTheme.minimumPreviewWidth)
|
||||||
height: {
|
height: {
|
||||||
previewImageScalingFactorUpdated
|
previewImageScalingFactorUpdated
|
||||||
return previewRenderer.width * previewRenderer.getPreviewImageScalingFactor()
|
return previewRenderer.width * previewRenderer.getPreviewImageScalingFactor()
|
||||||
|
|
Loading…
Add table
Reference in a new issue