diff options
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,12 +19,12 @@ static nk_size pct; static bool show_app_about; static nfdchar_t *outPath; -static struct nk_rect about_dialog_bounds = {128, 64, 768, 512}; +static struct nk_rect about_dialog_bounds = {128, -16, 768, 696}; void load_ui(struct ui_struct *ui) { static char text[USHRT_MAX], box_buffer[UINT16_MAX], status_string[UCHAR_MAX]; float logGroup_height = - nk_window_get_height(ui->ctx) - 35 - 85 - 45 - 50 - 35 - 80; + nk_window_get_height(ui->ctx) - 85 - 45 - 50 - 35 - 80; ui->logger->extend_box = (logGroup_height - 15) < ((ui->logger->box_lines + 1) * (ui->logger->font_height + 2)); @@ -81,7 +81,7 @@ void load_ui(struct ui_struct *ui) { * What's worse, it's related w/ font size. Jeez. */ about_dialog_bounds.x -= 6; - about_dialog_bounds.y -= 85; + about_dialog_bounds.y -= 45; // DEBUG_PRINT("w: %f, h: %f\n", nk_window_get_bounds(ui->ctx).x, // nk_window_get_bounds(ui->ctx).y); |