From 6919f0c2fb5713a336774d3c3ba125d53a2866a7 Mon Sep 17 00:00:00 2001 From: Xinto Date: Mon, 1 Apr 2024 20:22:43 +0400 Subject: [PATCH] Fix the combobox width in the account screen --- .../xinto/mauth/ui/screen/account/component/AccountComboBox.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/xinto/mauth/ui/screen/account/component/AccountComboBox.kt b/app/src/main/java/com/xinto/mauth/ui/screen/account/component/AccountComboBox.kt index 8a9f626..7ee466b 100644 --- a/app/src/main/java/com/xinto/mauth/ui/screen/account/component/AccountComboBox.kt +++ b/app/src/main/java/com/xinto/mauth/ui/screen/account/component/AccountComboBox.kt @@ -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 @@ -31,7 +32,7 @@ fun > AccountComboBox( onExpandedChange = setExpanded ) { OutlinedTextField( - modifier = Modifier.menuAnchor(), + modifier = Modifier.fillMaxWidth().menuAnchor(), value = value.name, onValueChange = {}, singleLine = true,