Skip to content

Commit 0788e9f

Browse files
ZXing updated. Texfields height reduced
1 parent c6c7f68 commit 0788e9f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

examples/QmlBarcodeGenerator/qml/GeneratorPage.qml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ ApplicationWindow {
231231
id: widthField
232232

233233
implicitWidth: parent.width
234-
implicitHeight: parent.height / 10
234+
implicitHeight: parent.height / 13
235235

236236
placeholderText: "Current width: " + barcodeGenerator.width
237237

@@ -249,7 +249,7 @@ ApplicationWindow {
249249
id: heightField
250250

251251
implicitWidth: parent.width
252-
implicitHeight: parent.height / 10
252+
implicitHeight: parent.height / 13
253253

254254
placeholderText: "Current height: " + barcodeGenerator.height
255255

@@ -267,7 +267,7 @@ ApplicationWindow {
267267
id: marginField
268268

269269
implicitWidth: parent.width
270-
implicitHeight: parent.height / 10
270+
implicitHeight: parent.height / 13
271271

272272
placeholderText: "Current margin: " + barcodeGenerator.margin
273273

@@ -285,7 +285,7 @@ ApplicationWindow {
285285
id: eccLevelField
286286

287287
implicitWidth: parent.width
288-
implicitHeight: parent.height / 10
288+
implicitHeight: parent.height / 13
289289

290290
placeholderText: "Current ECC Level: " + barcodeGenerator.eccLevel
291291

@@ -298,7 +298,7 @@ ApplicationWindow {
298298
id: foregroundColorField
299299

300300
implicitWidth: parent.width
301-
implicitHeight: parent.height / 10
301+
implicitHeight: parent.height / 13
302302

303303
placeholderText: "Current foreground color: " + barcodeGenerator.foregroundColor
304304

@@ -315,7 +315,7 @@ ApplicationWindow {
315315
id: backgroundColorField
316316

317317
implicitWidth: parent.width
318-
implicitHeight: parent.height / 10
318+
implicitHeight: parent.height / 13
319319

320320
placeholderText: "Current background color: " + barcodeGenerator.backgroundColor
321321

@@ -332,7 +332,7 @@ ApplicationWindow {
332332
id: formatDropDown
333333

334334
implicitWidth: parent.width
335-
implicitHeight: parent.height / 10
335+
implicitHeight: parent.height / 13
336336

337337
model: ListModel {
338338
id: formats
@@ -389,7 +389,7 @@ ApplicationWindow {
389389
id: imageFormat
390390

391391
implicitWidth: parent.width
392-
implicitHeight: parent.height / 10
392+
implicitHeight: parent.height / 13
393393

394394
model: ListModel {
395395
id: extensions
@@ -413,7 +413,7 @@ ApplicationWindow {
413413
text: qsTr(barcodeGenerator.fileName)
414414

415415
implicitWidth: parent.width
416-
implicitHeight: parent.height / 10
416+
implicitHeight: parent.height / 13
417417

418418
onEditingFinished: {
419419
barcodeGenerator.fileName = text
@@ -426,7 +426,7 @@ ApplicationWindow {
426426
text: qsTr(barcodeGenerator.imagePath)
427427

428428
implicitWidth: parent.width
429-
implicitHeight: parent.height / 10
429+
implicitHeight: parent.height / 13
430430

431431
placeholderText: "Current image path: " + barcodeGenerator.imagePath
432432

@@ -441,7 +441,7 @@ ApplicationWindow {
441441
text: qsTr(barcodeGenerator.centerImageRatio.toString())
442442

443443
implicitWidth: parent.width
444-
implicitHeight: parent.height / 10
444+
implicitHeight: parent.height / 13
445445

446446
placeholderText: "Current center image ratio: " + barcodeGenerator.centerImageRatio
447447

src/zxing-cpp

0 commit comments

Comments
 (0)