Skip to content

removed anchors from item managed by layout to resolve QML warning#3645

Open
ronoaer wants to merge 1 commit intonomic-ai:mainfrom
ronoaer:fix_ui_AddHFModelView
Open

removed anchors from item managed by layout to resolve QML warning#3645
ronoaer wants to merge 1 commit intonomic-ai:mainfrom
ronoaer:fix_ui_AddHFModelView

Conversation

@ronoaer
Copy link

@ronoaer ronoaer commented Jan 22, 2026

#3600

Location The warning is reported at AddModelView.qml, line 139 (the AddHFModelView component in the StackLayout).
It appears that anchors.fill: parent is used on a component which is a direct child of a Layout (for example, StackLayout), which is discouraged in Qt Quick and leads to undefined behavior.

Steps to Reproduce

  1. Launch the application in Qt Creator.
  2. Check application logs. Observe the QML warning:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant