Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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