Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Move search box slightly lower
Browse files Browse the repository at this point in the history
  • Loading branch information
TSultanov committed Aug 9, 2022
1 parent 9d92a54 commit d9ef703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mainwindow.zig
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ fn onResizeHandler(event_handlers: *Window.EventHandlers, window: *Window) !void
const xm = @divFloor(rect.right - rect.left, 2);
const x = xm - @divFloor(child.scaleDpi(search_box_width), 2);

const y = rect.bottom - child.scaleDpi(200);
const y = rect.bottom - child.scaleDpi(100);

try child.setSize(x, y, child.scaleDpi(search_box_width), child.scaleDpi(search_box_height));
}
Expand Down

0 comments on commit d9ef703

Please sign in to comment.