File tree Expand file tree Collapse file tree
base/src/main/java/io/github/sds100/keymapper/base/trigger Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import androidx.compose.foundation.layout.ExperimentalLayoutApi
99import androidx.compose.foundation.layout.FlowRow
1010import androidx.compose.foundation.layout.fillMaxWidth
1111import androidx.compose.foundation.layout.size
12- import androidx.compose.foundation.layout.widthIn
1312import androidx.compose.foundation.rememberScrollState
1413import androidx.compose.foundation.verticalScroll
1514import androidx.compose.material.icons.Icons
@@ -208,7 +207,7 @@ private fun ShortcutButton(
208207 onClick : () -> Unit ,
209208) {
210209 Column (
211- modifier = modifier.widthIn(max = 56 .dp) ,
210+ modifier = modifier,
212211 horizontalAlignment = Alignment .CenterHorizontally ,
213212 verticalArrangement = Arrangement .spacedBy(4 .dp),
214213 ) {
@@ -235,7 +234,7 @@ private fun ShortcutButton(
235234 style = MaterialTheme .typography.labelMedium,
236235 textAlign = TextAlign .Center ,
237236 color = MaterialTheme .colorScheme.onSurface,
238- maxLines = 2 ,
237+ maxLines = 1 ,
239238 overflow = TextOverflow .Ellipsis ,
240239 )
241240 }
You can’t perform that action at this time.
0 commit comments