Slight changes to UI
This commit is contained in:
parent
4774f1ee94
commit
a533494b3a
12 changed files with 129 additions and 21 deletions
|
|
@ -31,7 +31,7 @@ void CheckBox::layout(const Clay_ElementId& id, const std::function<bool()>& isT
|
|||
this->isTicked = isTicked;
|
||||
this->onClick = onClick;
|
||||
|
||||
float size = gui.io.isTouchDevice ? 25 : 15;
|
||||
float size = 20;
|
||||
CLAY(id, {
|
||||
.layout = {
|
||||
.sizing = {.width = CLAY_SIZING_FIXED(size), .height = CLAY_SIZING_FIXED(size)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue