Skip to content

Commit

Permalink
Fix the combobox width in the account screen
Browse files Browse the repository at this point in the history
  • Loading branch information
X1nto committed Apr 1, 2024
1 parent 25387ad commit 6919f0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.xinto.mauth.ui.screen.account.component

import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.DropdownMenuItem
import androidx.compose.material3.ExposedDropdownMenuBox
import androidx.compose.material3.Icon
Expand Down Expand Up @@ -31,7 +32,7 @@ fun <E : Enum<E>> AccountComboBox(
onExpandedChange = setExpanded
) {
OutlinedTextField(
modifier = Modifier.menuAnchor(),
modifier = Modifier.fillMaxWidth().menuAnchor(),
value = value.name,
onValueChange = {},
singleLine = true,
Expand Down

0 comments on commit 6919f0c

Please sign in to comment.