--58b6fb2b425444d29d3d938dd271aa48 Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit mart added inline comments. INLINE COMMENTS > davidedmundson wrote in Label.qml:27 > It probably made sense when it was written, but your comments about layouts is outdated. > > No manual changes are needed. > > try: > https://paste.kde.org/pgi2ui6e3 > > If it was a problem we'd be seeing it all the time in the config modules. > > It is true for manual positioning and anchors, but I think the vast majority of the time where we'd want to be aligned to a button we'd be in a layout with that button. > > I'm sure there will be some changes needed, but it'll be few. (if I remove the line in my QQC1 label locally, I can't see any) > > In constrast run this on your workspace folder: > find -name '*.qml' | xargs grep 'height:' | grep paintedHeight > > and you'll see the number of times we have to reverse this logic. so, GridLayout and RowLayout align correctly, while Row still doesn't. so, ok for me to remove it, and require *layouts are used instead of simple positioners everywhere REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D4508 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: mart, #plasma Cc: davidedmundson, broulik, plasma-devel, #frameworks, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol --58b6fb2b425444d29d3d938dd271aa48 Content-Type: text/html; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable View Revision=
mart added inline comments.

INLINE COMMENTS

It probably made sense when it was written, but y= our comments about layouts is outdated.

No manual changes are needed.

try:
https://paste.kde.org/pgi2ui6e3

If it was a problem we'd be seei= ng it all the time in the config modules.

It is true for manual positioning and= anchors, but I think the vast majority of the time where we'd want to= be aligned to a button we'd be in a layout with that button.

I'm sure there will be some chan= ges needed, but it'll be few. (if I remove the line in my QQC1 label l= ocally, I can't see any)

In constrast run this on your workspa= ce folder:
find -name '*.qml' | xargs grep 'height:' | grep paint= edHeight

and you'll see the number of tim= es we have to reverse this logic.

so, GridLayout and RowLayout align correctly, while Row still doe= sn't.

so, ok for me to remove it, and requi= re *layouts are used instead of simple positioners everywhere


REPOSITORY
R242 Pl= asma Framework (Library)

REVISION DETAI= L
https://phabricator.kde.org/D4508

EM= AIL PREFERENCES
https://phabricator.kde.org/s= ettings/panel/emailpreferences/

To: mart, Plasma
Cc: davidedmundson, broulik, plasma-= devel, Frameworks, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abet= ts, sebas, apol
--58b6fb2b425444d29d3d938dd271aa48--