Slight changes to UI

This commit is contained in:
Yousef Khadadeh 2026-05-13 19:56:14 +03:00
parent 4774f1ee94
commit a533494b3a
12 changed files with 129 additions and 21 deletions

View file

@ -241,7 +241,7 @@ void FileSelectScreen::create_file_button() {
CLAY(lId, {
.layout = {.sizing = {.width = CLAY_SIZING_FIT(0), .height = CLAY_SIZING_FIT(0)}},
.floating = {
.offset = {-5, -5},
.offset = {-25, -25},
.zIndex = gui.get_z_index(),
.attachPoints = {
.element = CLAY_ATTACH_POINT_RIGHT_BOTTOM,
@ -251,6 +251,8 @@ void FileSelectScreen::create_file_button() {
}
}) {
svg_icon_button(gui, "add button", "data/icons/plus.svg", {
.drawType = SelectableButton::DrawType::FILLED_INVERSE,
.size = 40.0f,
.onClick = [&] {
CustomEvents::emit_event<CustomEvents::OpenInfiniPaintFileEvent>({
.isClient = false,