Skip to content
Snippets Groups Projects
Commit 873c3d69 authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Andreas Traczyk
Browse files

callview: change preview width and set minimum value

Gitlab: #104
Change-Id: I13414206cecc548b3ff481f4f0f79574cf0b4a4b
parent 74485a4a
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment