Fixed grid alignment issue

This commit is contained in:
Yousef Khadadeh 2026-04-21 18:52:11 +03:00
parent c75c668bf7
commit 06dd550067
2 changed files with 2 additions and 3 deletions

View file

@ -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"),