关于QML错误( Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.)

在ColumnLayout组件里面还有(*)Layout组件里面的组件使用anchors定位回报这个错误

使用Layout来定位。可以解决

猜你喜欢

转载自www.cnblogs.com/mrAAron/p/9670560.html