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

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |NOT A BUG

--- Comment #1 from Marco Martin <notm...@gmail.com> ---
not valid: Heading is a text element, and exactly why you should never use a
Label directly in an header, you should never use an heading as well.
in those cases, a kind of container should always be used. either an
Abstract/BasicListItem in a ListView or any other kind of container regardless
when in a kind of scrollview which isn't a ListView, even just
Control {
    Kirigami.Heading {
       text:"foo"
    }
}

would be more correct already, since it would give it unit based paddings
coherent with everything else.

With QML is super easy to shoot yourself in the foot, and is designed that way,
because the priority there is flexibility, with QWidget is harder to do things
that look super wrong, exactly because it's more rigid and less capable, but
there is nothing i can do to change the nature of QML (in fact all the places
where i tried, like the automatic toolbar and completely premade complex
components gave serious problems as people always found them too rigid, so is a
direction i don't want to go anymore)

this can't (technically) and shouldn't (in principle) be fixed, but i'll add a
warning about it in the apidocs.

(unrelated, that piece of qml also has other errors, like having a flickable
with a scrollbar directly instead of a ScrollView, which will give it different
behavior than anything else)

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

Reply via email to