mirror of
https://github.com/nacabaro/vbhelper.git
synced 2026-06-05 22:02:54 +00:00
Reduced attack button size.
This commit is contained in:
parent
b74b04cda9
commit
26842d1b1b
@ -742,15 +742,15 @@ fun MiddleBattleView(
|
|||||||
},
|
},
|
||||||
enabled = battleSystem.isAttackButtonEnabled,
|
enabled = battleSystem.isAttackButtonEnabled,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth(0.5f)
|
||||||
.height(50.dp),
|
.height(35.dp),
|
||||||
colors = ButtonDefaults.buttonColors(
|
colors = ButtonDefaults.buttonColors(
|
||||||
containerColor = Color.Red,
|
containerColor = Color.Blue,
|
||||||
disabledContainerColor = Color.Gray
|
disabledContainerColor = Color.Gray
|
||||||
),
|
),
|
||||||
shape = RoundedCornerShape(8.dp)
|
shape = RoundedCornerShape(8.dp)
|
||||||
) {
|
) {
|
||||||
Text("Attack", color = Color.White, fontSize = 18.sp)
|
Text("Attack", color = Color.White, fontSize = 12.sp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user