Skip to content

Commit

Permalink
WIP: Looking for way to make btn height fill row height
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakhar-Agarwal-byte committed Jul 4, 2023
1 parent 900a99a commit 8e24ffb
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fun ChapterButtons(
modifier = Modifier
.padding(all = 4.dp)
.standardShadow(20.dp)
.weight(weight = 0.5f)
.weight(weight = 1f)
) {
Row(
verticalAlignment = Alignment.CenterVertically,
Expand Down Expand Up @@ -152,7 +152,7 @@ fun ChapterButtons(
modifier = Modifier
.padding(all = 4.dp)
.standardShadow(20.dp)
.weight(weight = 0.5f),
.weight(weight = 1f)
) {
Row(
verticalAlignment = Alignment.CenterVertically,
Expand Down Expand Up @@ -181,11 +181,12 @@ fun ChapterButtons(
modifier = Modifier
.padding(all = 4.dp)
.standardShadow(20.dp)
.weight(weight = 0.5f),
.weight(weight = 1f)
.fillMaxHeight()
) {
Row(
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier.padding(vertical = 10.dp)
modifier = Modifier.padding(vertical = 8.dp)
) {
Text(
text = "Finish",
Expand Down

0 comments on commit 8e24ffb

Please sign in to comment.