S.
05/01/2022, 12:31 AMColton Idle
05/03/2022, 6:45 AMS.
05/03/2022, 8:01 AMOutlinedTextField(value = inputLanguage, onValueChange = { inputLanguage = it }, label = {
Text(
stringResource(id = R.string.language)
)
})
Colton Idle
05/03/2022, 6:24 PMChris Sinco [G]
05/04/2022, 7:45 PMModifier.heightIn
(also noted in the source), but that doesn’t seem to work that well since when I use it to set to say 40.dp, the field only shrinks by 3.dp (using Layout Inspector to see the runtime measurements). There’s inner padding in the TextField of 16.dp which doesn’t seem configurable via modifiers, so may be contributing to the size.BasicTextField
is always an optionI also believe that text fields now have a “condensed” mode where you can make them a bit more compact.@Colton Idle not sure this exists in M3 — it’s certainly not in M2
Anastasia [G]
05/04/2022, 8:01 PMS.
05/04/2022, 8:01 PMChris Sinco [G]
05/04/2022, 8:08 PMS.
05/04/2022, 8:40 PMAnastasia [G]
05/04/2022, 9:07 PMColton Idle
05/04/2022, 9:09 PMS.
05/04/2022, 9:29 PMChris Sinco [G]
05/04/2022, 10:20 PMColton Idle
05/04/2022, 11:38 PMS.
05/04/2022, 11:46 PM