https://bugs.kde.org/show_bug.cgi?id=422461

            Bug ID: 422461
           Summary: FormLayout ignores Kirigami.FormData.buddyFor
           Product: frameworks-kirigami
           Version: Master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: rinigus....@gmail.com
  Target Milestone: Not decided

SUMMARY

Kirigami.FormData.buddyFor could be used to align label with an element in the
form. Not sure when it changed, but it doesn't work anymore.

STEPS TO REPRODUCE

Simplest example would be from Kirigami Gallery app. In FormLayoutGallery, use
the following with the radio buttons:

```
            ColumnLayout {
                Layout.rowSpan: 3
                Kirigami.FormData.label: "Label for radios:"
                Kirigami.FormData.buddyFor: firstRadio
                RadioButton {
                    checked: true
                    text: "One"
                }
                RadioButton {
                    text: "Two"
                }
                RadioButton {
                    id: firstRadio
                    text: "Three"
                }
            }
```

Notice that the `firstRadio` id is moved to the last RadioButton.
Unfortunately, label is still aligned by the top.

I have not tested it in the Gallery app, but used it in Pure Maps. There the
functionality got broken and noticed.


SOFTWARE/OS VERSIONS
KDE Frameworks Version: kde-frameworks/kirigami 5.70
Qt Version: 5.14.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to