Improved file selector grid alignment

This commit is contained in:
Yousef Khadadeh 2026-04-21 18:38:24 +03:00
parent 3b9b9c0cf9
commit c75c668bf7
7 changed files with 45 additions and 14 deletions

View file

@ -22,6 +22,8 @@ class ScrollArea : public Element {
bool showScrollbarX = false;
bool showScrollbarY = false;
Clay_LayoutDirection layoutDirection = CLAY_TOP_TO_BOTTOM;
Clay_LayoutAlignmentX xAlign = CLAY_ALIGN_X_LEFT;
Clay_LayoutAlignmentY yAlign = CLAY_ALIGN_Y_TOP;
std::function<void(const InnerContentParameters&)> innerContent;
};