Skip to content

drop bad anchor in layout component to reduce errors in logfile

Daniel Frost requested to merge Danfro/camera-app:dropbadanchor into ubports/xenial

The logfile currently contains lots of those errors: file:///opt/click.ubuntu.com/com.ubuntu.camera/3.2.3.1/GalleryViewHeader.qml:74:9: QML IconButton: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.

This is due to the wrong usage of an anchor in a RowLayout. This anchor is ignored anyway, so dropping it reduces errors and has no effect on the UI.

Merge request reports