Limited image height

This commit is contained in:
Avently
2022-10-12 15:38:15 +03:00
parent c0fc0f0d7b
commit d5733da6a3

View File

@@ -102,6 +102,7 @@ fun CIImageView(
// if text is short and take all available width if text is long
modifier = Modifier
.width(1000.dp)
.heightIn(max = 300.dp)
.combinedClickable(
onLongClick = { showMenu.value = true },
onClick = onClick
@@ -119,6 +120,7 @@ fun CIImageView(
// if text is short and take all available width if text is long
modifier = Modifier
.width(1000.dp)
.heightIn(max = 300.dp)
.combinedClickable(
onLongClick = { showMenu.value = true },
onClick = onClick