Activity log for bug #1195553

Date Who What changed Old value New value Message
2013-06-28 04:27:04 londumas bug added bug
2013-06-28 04:28:12 londumas description Hello again, In your "Settings" tab, you have a Switch to show/hide hints, you have coded that with a row and a Label and a Switch. This result on an error: "file:///home/helion/DOC/sudoku-app/sudoku-app.qml:314:21: QML Row: Cannot specify left, right, horizontalCenter, fill or centerIn anchors for items inside Row. Row will not function." The solution is to use a "ListItem.Standard" and a "control" (see file:///usr/share/ubuntu-ui-toolkit/doc/html/qml-ubuntu-components-listitems0-standard.html) Here what should be done according to me: ListItem.Standard { //TRANSLATORS: context here text: i18n.tr("label") control: Switch { id: switchId anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter checked: true onCheckedChanged: { print("Hello World!"); } } } This will resolve anckors-row issues. Thanks again for your app. Hello again, In your "Settings" tab, you have a Switch to show/hide hints, you have coded that with a row and a Label and a Switch. This result on an error: "file:///home/helion/DOC/sudoku-app/sudoku-app.qml:314:21: QML Row: Cannot specify left, right, horizontalCenter, fill or centerIn anchors for items inside Row. Row will not function." The solution is to use a "ListItem.Standard" and a "control" (see file:///usr/share/ubuntu-ui-toolkit/doc/html/qml-ubuntu-components-listitems0-standard.html) Here what should be done according to me: ListItem.Standard { //TRANSLATORS: context here text: i18n.tr("label") control: Switch { id: switchId anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter checked: true onCheckedChanged: { print("Hello World!"); } } } This will resolve anckors-row issues. Thanks again for your app.
2013-06-28 04:28:32 londumas summary In the Settings Tab, change the way to have a Switch to resolve an anckors-row conflict In the "Settings" Tab, change the way to have a Switch to resolve an anckors-row conflict
2013-06-28 16:23:21 Dinko Osmankovic sudoku-app: assignee Frédéric Delgado (fredoust)
2013-06-29 16:12:44 Frédéric Delgado sudoku-app: status New Fix Committed
2013-07-02 12:55:43 Dinko Osmankovic sudoku-app: status Fix Committed Fix Released