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