Ubuntu.Components 1.2 changes the height, 1.3 changes bottomMargin on the contents of the MainView. That qualifies as resizing to my mind. Maybe it should more explicitly say "resize the area holding the contents"? And yes, "anchors.fill: true" should be used here, nothing forces a position or size on the actual children.
** Summary changed: - MainView's anchorToKeyboard does not work as expected + MainView.anchorToKeyboard documentation unclear -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1566713 Title: MainView.anchorToKeyboard documentation unclear Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: I am now trying to following the OSK at the link https://developer.ubuntu.com/en/apps/qml/tutorials/ubuntu-screen- keyboard-tricks/. I find that when i set anchorToKeyboard to true, the UI looks different from the one shown on the link. When anchorToKeyboard: true, I cannot even see the input field for "username" and "password"? is this a bug? the UI is like http://imgur.com/wXaSzqG my test code is at https://github.com/liu- xiao-guo/osk faenil helped to verify that if we set: Page { title: i18n.tr("onscreenkeyboard") anchors.fill: parent // this line makes the OSK work properly as expected on the link .... } Best regards, XiaoGuo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1566713/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

