Multiple warnings about anchoring

Bug #1200862 reported by David Planella on 2013-07-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sudoku App
Undecided
Frédéric Delgado

Bug Description

When Sudoku is launched from the command line, there are multiple warnings about anchoring that would need addressing:

$ qmlscene sudoku-app.qml
file:///home/dpm/dev/coreapps/sudoku-app/sudoku-app.qml:700:25: QML Label: Cannot anchor to an item that isn't a parent or sibling.
file:///home/dpm/dev/coreapps/sudoku-app/components/SudokuButtonsGrid.qml:45:5: QML SudokuButton: Cannot anchor to an item that isn't a parent or sibling.
[...]
file:///home/dpm/dev/coreapps/sudoku-app/components/SudokuBlocksGrid.qml:283:9: QML Grid: Cannot specify anchors for items inside Grid. Grid will not function.
file:///home/dpm/dev/coreapps/sudoku-app/sudoku-app.qml:392:17: QML Column: Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for items inside Column. Column will not function.

Related branches

Changed in sudoku-app:
assignee: nobody → Frédéric Delgado (fredoust)

Frederic, can you look into this. Although I think that we can ignore these warnings since they have no impact on the app at all.

Frédéric Delgado (fredoust) wrote :

I removed all warnings, could you say me if the board is centered on device please ?

Changed in sudoku-app:
status: New → Fix Committed

Hi,

It works great now. The board is centered on device. The only thing that is screwed up is the rectangles behind text boxes in edit profile and add new profile. I played a bit with that and the righ corner radius for that would be 18 instead of 9.

But this is on a device. It doesn't look good on the Desktop...

But this:

radius: units.gu(1)

works great. :)

Frédéric Delgado (fredoust) wrote :

Great! I changed the radius in this branch.
If all is ok I request a merge.

Its OK. I'll check again tomorrow. You can request the merge already and if there are some fixes needed I'll inform you. Great work BTW ;)

Changed in sudoku-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers