Normalize raise panel spacing
This commit is contained in:
@@ -774,7 +774,7 @@ private fun DecisionControls(
|
||||
),
|
||||
)
|
||||
.padding(horizontal = 14.dp, vertical = 10.dp),
|
||||
verticalArrangement = Arrangement.spacedBy(8.dp),
|
||||
verticalArrangement = Arrangement.spacedBy(12.dp),
|
||||
) {
|
||||
if (!sizingRaise) {
|
||||
PrimaryDecisionButtons(
|
||||
@@ -829,7 +829,7 @@ private fun DecisionControls(
|
||||
),
|
||||
modifier = Modifier
|
||||
.weight(1f)
|
||||
.height(44.dp),
|
||||
.height(48.dp),
|
||||
)
|
||||
FineTuneButton("+") {
|
||||
raiseTo = adjustRaiseAmount(raiseTo, 1, buttons)
|
||||
@@ -845,7 +845,7 @@ private fun DecisionControls(
|
||||
onClick = { raiseTo = preset.amount },
|
||||
modifier = Modifier
|
||||
.weight(1f)
|
||||
.height(42.dp),
|
||||
.height(48.dp),
|
||||
contentPadding = PaddingValues(horizontal = 4.dp),
|
||||
colors = ButtonDefaults.buttonColors(
|
||||
containerColor = if (amount == preset.amount) {
|
||||
@@ -945,7 +945,7 @@ private fun PrimaryDecisionButtons(
|
||||
private fun BackToActionsButton(onClick: () -> Unit) {
|
||||
Button(
|
||||
onClick = onClick,
|
||||
modifier = Modifier.height(44.dp),
|
||||
modifier = Modifier.height(48.dp),
|
||||
contentPadding = PaddingValues(horizontal = 14.dp),
|
||||
colors = ButtonDefaults.buttonColors(
|
||||
containerColor = Color.White.copy(alpha = 0.09f),
|
||||
@@ -964,7 +964,7 @@ private fun FineTuneButton(
|
||||
) {
|
||||
Button(
|
||||
onClick = onClick,
|
||||
modifier = Modifier.size(44.dp),
|
||||
modifier = Modifier.size(48.dp),
|
||||
contentPadding = PaddingValues(0.dp),
|
||||
colors = ButtonDefaults.buttonColors(
|
||||
containerColor = Color.White.copy(alpha = 0.09f),
|
||||
|
||||
Reference in New Issue
Block a user