Skip to content

Commit

Permalink
ZXing updated. Texfields height reduced
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-fejcher committed Jul 10, 2024
1 parent c6c7f68 commit 0788e9f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions examples/QmlBarcodeGenerator/qml/GeneratorPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ ApplicationWindow {
id: widthField

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

placeholderText: "Current width: " + barcodeGenerator.width

Expand All @@ -249,7 +249,7 @@ ApplicationWindow {
id: heightField

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

placeholderText: "Current height: " + barcodeGenerator.height

Expand All @@ -267,7 +267,7 @@ ApplicationWindow {
id: marginField

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

placeholderText: "Current margin: " + barcodeGenerator.margin

Expand All @@ -285,7 +285,7 @@ ApplicationWindow {
id: eccLevelField

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

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

Expand All @@ -298,7 +298,7 @@ ApplicationWindow {
id: foregroundColorField

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

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

Expand All @@ -315,7 +315,7 @@ ApplicationWindow {
id: backgroundColorField

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

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

Expand All @@ -332,7 +332,7 @@ ApplicationWindow {
id: formatDropDown

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

model: ListModel {
id: formats
Expand Down Expand Up @@ -389,7 +389,7 @@ ApplicationWindow {
id: imageFormat

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

model: ListModel {
id: extensions
Expand All @@ -413,7 +413,7 @@ ApplicationWindow {
text: qsTr(barcodeGenerator.fileName)

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

onEditingFinished: {
barcodeGenerator.fileName = text
Expand All @@ -426,7 +426,7 @@ ApplicationWindow {
text: qsTr(barcodeGenerator.imagePath)

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

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

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

implicitWidth: parent.width
implicitHeight: parent.height / 10
implicitHeight: parent.height / 13

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

Expand Down
2 changes: 1 addition & 1 deletion src/zxing-cpp

0 comments on commit 0788e9f

Please sign in to comment.