mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
GUI: fix dot size label position
This commit is contained in:
parent
4284f3c578
commit
9884875fd5
@ -627,6 +627,7 @@ static void plot_hexagon(unsigned char *scaled_hexagon, const int hex_width, con
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Draw binding or box */
|
/* Draw binding or box */
|
||||||
static void draw_bind_box(const struct zint_symbol *symbol, unsigned char *pixelbuf,
|
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,
|
const int xoffset_si, const int yoffset_si, const int symbol_height_si, const int dot_overspill_si,
|
||||||
|
@ -37,19 +37,19 @@ STATIC_UNLESS_ZINT_TEST int quiet_zones(const struct zint_symbol *symbol, const
|
|||||||
static void test_quiet_zones(void) {
|
static void test_quiet_zones(void) {
|
||||||
int i, ret;
|
int i, ret;
|
||||||
struct zint_symbol symbol = {0};
|
struct zint_symbol symbol = {0};
|
||||||
int hide_text = 0;
|
int hide_text = 0;
|
||||||
float left, right, top, bottom;
|
float left, right, top, bottom;
|
||||||
|
|
||||||
testStart("test_quiet_zones");
|
testStart("test_quiet_zones");
|
||||||
|
|
||||||
for (i = BARCODE_CODE11; i <= BARCODE_RMQR; i++) {
|
for (i = BARCODE_CODE11; i <= BARCODE_RMQR; i++) {
|
||||||
if (!ZBarcode_ValidID(i)) continue;
|
if (!ZBarcode_ValidID(i)) continue;
|
||||||
symbol.symbology = i;
|
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);
|
ret = quiet_zones(&symbol, hide_text, &left, &right, &top, &bottom);
|
||||||
if (i != BARCODE_FLAT) { // Only one which isn't marked as done
|
if (i != BARCODE_FLAT) { // Only one which isn't marked as done
|
||||||
assert_nonzero(ret, "i:%d %s not done\n", i, testUtilBarcodeName(i));
|
assert_nonzero(ret, "i:%d %s not done\n", i, testUtilBarcodeName(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
testFinish();
|
testFinish();
|
||||||
|
@ -1094,7 +1094,7 @@ in X-dimensions</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="2">
|
<item row="7" column="2">
|
||||||
<widget class="QLabel" name="lblDotSize">
|
<widget class="QLabel" name="lblDotSize">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
|
Loading…
Reference in New Issue
Block a user