Fixed grid alignment issue
This commit is contained in:
parent
c75c668bf7
commit
06dd550067
2 changed files with 2 additions and 3 deletions
|
|
@ -57,8 +57,7 @@ void FileSelectScreen::gui_layout_run() {
|
|||
}
|
||||
}) {
|
||||
CLAY_AUTO_ID({
|
||||
.layout = { .sizing = {.width = CLAY_SIZING_FIXED(150), .height = CLAY_SIZING_GROW(0) }},
|
||||
.aspectRatio = { .aspectRatio = 1.0f }
|
||||
.layout = { .sizing = {.width = CLAY_SIZING_FIXED(150), .height = CLAY_SIZING_FIXED(150) }},
|
||||
}) {
|
||||
gui.element<ImageDisplay>("ico", ImageDisplay::Data{
|
||||
.imgPath = main.conf.configPath / "saveThumbnails" / (fileList[i].fileName + ".jpg"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue