buttonSize method
Calculates the actual size of a button, taking into account the relative size and the maximum size.
Implementation
double buttonSize() {
return min(ip(buttonsSizeRelativeToScreen), maxButtonsSize);
}
Calculates the actual size of a button, taking into account the relative size and the maximum size.
double buttonSize() {
return min(ip(buttonsSizeRelativeToScreen), maxButtonsSize);
}