Fix: adjust content text field height to display 5 lines fully in merge screen
This commit is contained in:
@@ -16,6 +16,7 @@ import androidx.compose.foundation.layout.aspectRatio
|
||||
import androidx.compose.foundation.layout.fillMaxSize
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.height
|
||||
import androidx.compose.foundation.layout.heightIn
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.foundation.lazy.grid.GridCells
|
||||
@@ -371,7 +372,7 @@ fun MergeScreen(
|
||||
},
|
||||
label = { Text("内容(最多5行)") },
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
minLines = 2,
|
||||
minLines = 5,
|
||||
maxLines = 5
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user