From 9884875fd521095d93757ae22eab83d926a845f8 Mon Sep 17 00:00:00 2001 From: gitlost Date: Sat, 25 Sep 2021 14:44:32 +0100 Subject: [PATCH] GUI: fix dot size label position --- backend/raster.c | 1 + backend/tests/test_output.c | 14 +++++++------- frontend_qt/mainWindow.ui | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/backend/raster.c b/backend/raster.c index bdf699af..d4820621 100644 --- a/backend/raster.c +++ b/backend/raster.c @@ -627,6 +627,7 @@ static void plot_hexagon(unsigned char *scaled_hexagon, const int hex_width, con } } } + /* Draw binding or box */ static void draw_bind_box(const struct zint_symbol *symbol, unsigned char *pixelbuf, const int xoffset_si, const int yoffset_si, const int symbol_height_si, const int dot_overspill_si, diff --git a/backend/tests/test_output.c b/backend/tests/test_output.c index 2148f36f..e9709c02 100644 --- a/backend/tests/test_output.c +++ b/backend/tests/test_output.c @@ -37,19 +37,19 @@ STATIC_UNLESS_ZINT_TEST int quiet_zones(const struct zint_symbol *symbol, const static void test_quiet_zones(void) { int i, ret; struct zint_symbol symbol = {0}; - int hide_text = 0; - float left, right, top, bottom; + int hide_text = 0; + float left, right, top, bottom; testStart("test_quiet_zones"); for (i = BARCODE_CODE11; i <= BARCODE_RMQR; i++) { - if (!ZBarcode_ValidID(i)) continue; + if (!ZBarcode_ValidID(i)) continue; symbol.symbology = i; - symbol.output_options = BARCODE_QUIET_ZONES; + symbol.output_options = BARCODE_QUIET_ZONES; ret = quiet_zones(&symbol, hide_text, &left, &right, &top, &bottom); - if (i != BARCODE_FLAT) { // Only one which isn't marked as done - assert_nonzero(ret, "i:%d %s not done\n", i, testUtilBarcodeName(i)); - } + if (i != BARCODE_FLAT) { // Only one which isn't marked as done + assert_nonzero(ret, "i:%d %s not done\n", i, testUtilBarcodeName(i)); + } } testFinish(); diff --git a/frontend_qt/mainWindow.ui b/frontend_qt/mainWindow.ui index 0b2a0091..cdc1a90f 100644 --- a/frontend_qt/mainWindow.ui +++ b/frontend_qt/mainWindow.ui @@ -1094,7 +1094,7 @@ in X-dimensions - + false