mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: NodeInfo chip line wrapping (#1167)
This commit is contained in:
parent
4b09e4dc91
commit
556b4a2ae3
1 changed files with 3 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ import androidx.compose.animation.core.tween
|
|||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.IntrinsicSize
|
||||
import androidx.compose.foundation.layout.Row
|
||||
import androidx.compose.foundation.layout.Spacer
|
||||
import androidx.compose.foundation.layout.defaultMinSize
|
||||
|
|
@ -128,9 +129,9 @@ fun NodeInfo(
|
|||
) {
|
||||
Chip(
|
||||
modifier = Modifier
|
||||
.width(72.dp)
|
||||
.width(IntrinsicSize.Min)
|
||||
.padding(end = 8.dp)
|
||||
.defaultMinSize(minHeight = 32.dp),
|
||||
.defaultMinSize(minHeight = 32.dp, minWidth = 72.dp),
|
||||
colors = ChipDefaults.chipColors(
|
||||
backgroundColor = Color(nodeColor),
|
||||
contentColor = Color(textColor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue