mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +08:00
fix: content not center in some device & system in DropdownList
This commit is contained in:
@@ -203,7 +203,10 @@ fun DropdownList(
|
||||
) {
|
||||
val menuWidth = maxWidth + startPadding + endPadding
|
||||
val menuHeight = with(LocalDensity.current) { menuHeightPx.toDp() }
|
||||
Row(horizontalArrangement = Arrangement.SpaceBetween) {
|
||||
Row(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.SpaceBetween
|
||||
) {
|
||||
Box(modifier = Modifier.weight(1f)) { text() }
|
||||
Icon(
|
||||
modifier = Modifier.graphicsLayer {
|
||||
|
Reference in New Issue
Block a user