File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/src/main/java/com/orange/ouds/app/ui/utilities/composable Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import androidx.compose.foundation.layout.ColumnScope
1818import androidx.compose.foundation.layout.PaddingValues
1919import androidx.compose.foundation.layout.Row
2020import androidx.compose.foundation.layout.fillMaxSize
21+ import androidx.compose.foundation.layout.fillMaxWidth
2122import androidx.compose.foundation.layout.padding
2223import androidx.compose.material3.ExperimentalMaterial3Api
2324import androidx.compose.material3.Text
@@ -82,8 +83,9 @@ fun DemoScreen(
8283 init = codeSnippet
8384 )
8485 if (version != null ) {
85- Row (modifier = Modifier .padding(horizontal = OudsTheme .grids.margin), verticalAlignment = Alignment .CenterVertically ) {
86+ Row (modifier = Modifier .fillMaxWidth(). padding(horizontal = OudsTheme .grids.margin), verticalAlignment = Alignment .CenterVertically ) {
8687 Text (
88+ modifier = Modifier .weight(1f ),
8789 text = stringResource(R .string.app_components_common_version_label),
8890 style = with (OudsTheme .typography.label.strong.large) { copy(lineHeightStyle = lineHeightStyle?.copy(alignment = LineHeightStyle .Alignment .Center )) },
8991 color = OudsTheme .colorScheme.content.default
You can’t perform that action at this time.
0 commit comments