Skip to content

Commit

Permalink
binding loop in form
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera authored and wonder-sk committed Nov 23, 2020
1 parent 2440a76 commit 19bcb3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qgsquick/from_qgis/plugin/qgsquickfeatureform.qml
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,14 @@ Item {
rightPadding: 8 * QgsQuick.Utils.dp
anchors.bottom: parent.bottom

width: contentItem.width + leftPadding + rightPadding
width: leftPadding + rightPadding
height: form.style.tabs.buttonHeight

contentItem: Text {
// Make sure the width is derived from the text so we can get wider
// than the parent item and the Flickable is useful
Component.onCompleted: tabButton.width = tabButton.width + paintedWidth

width: paintedWidth
text: tabButton.text
color: !tabButton.enabled ? form.style.tabs.disabledColor : tabButton.down ||
Expand Down

11 comments on commit 19bcb3f

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

win-apk: x86_64 (SDK: win-10)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: armeabi-v7a (SDK: android-18)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: arm64-v8a (SDK: android-18)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios-2.8.201123174201 (SDK: ios-8)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

win-apk: x86_64 (SDK: win-10)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: armeabi-v7a (SDK: android-18)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: arm64-v8a (SDK: android-18)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios-1.8.201123190123 (SDK: ios-8)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

win-apk: x86_64 (SDK: win-10)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios-1.8.201123193046 (SDK: ios-8)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios-1.8.201123193108 (SDK: ios-8)

Please sign in to comment.