← Back to team overview

ubuntu-phone team mailing list archive

Re: QML help

 

On Fri, Jul 17, 2015 at 6:45 PM, Daniel Wood <s.d.wood.82@xxxxxxxxxxxxxx>
wrote:

> I tried your suggestion without luck.
>
> If anyone can offer some advice on the following code.
>
> http://paste.ubuntu.com/11893812/
>
> I want to the label to stay above the keyboard. using anchor layout pushes
> the whole page under the header and out of view.
>
>
Hi Daniel,
have you tried anchoring the Label to the bottom of the page while having
"anchorToKeyboard: true" in MainView?

please feel free to ping me on IRC (nickname faenil) so we can go through
this together :)

Thanks,
>
> Dan
>
>
> On 14 July 2015 at 14:19, Mohamed MANSOUR <med.mnsour@xxxxxxxxx> wrote:
>
>> hi , try to add property " clip : true " to the page member and i think
>> this will solve your problem
>>
>> 2015-07-14 13:08 GMT+02:00 Daniel Wood <s.d.wood.82@xxxxxxxxxxxxxx>:
>>
>>> Hi,
>>>
>>> Thanks for replying. I would like to keep the textfield above the
>>> onscreenkeyboard so i used anchorToKeyboard: true in the mainview.
>>>
>>> My expectation was that the label {id: rpm} would resize (shrink) and
>>> the mainview would remain stationary.
>>>
>>> I think I have misunderstood the use of anchorToKeyboard: true.
>>>
>>> Thanks,
>>>
>>> Dan
>>>
>>> On 14 July 2015 at 12:03, Andrea Bernabei <andrea.bernabei@xxxxxxxxxxxxx
>>> > wrote:
>>>
>>>> Hi Daniel,
>>>>
>>>> can you elaborate a bit more? I'm not sure I understood what your
>>>> current and expected layouts look like :)
>>>>
>>>> On Sat, Jul 11, 2015 at 9:26 PM, Daniel Wood <
>>>> s.d.wood.82@xxxxxxxxxxxxxx> wrote:
>>>>
>>>>> Anyone know why the page disappears under the header when the keyboard
>>>>> pops out?
>>>>>
>>>>> I would like to anchor the layout and let the rpm label resize.
>>>>>
>>>>> http://paste.ubuntu.com/11863268/
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Dan
>>>>>
>>>>> --
>>>>> Mailing list: https://launchpad.net/~ubuntu-phone
>>>>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> Mailing list: https://launchpad.net/~ubuntu-phone
>>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> *Mohamed MANSOUR*
>> Eléve Ingenieur à *EPI Sousse* <http://www.episousse.com.tn/>
>> Développeur .Net chez *MasterCom* <http://www.mastercom-tn.com/>
>> Fondateur de *GDG Monastir*
>> <https://developers.google.com/groups/chapter/103429150782052657644/>
>> med.mnsour@xxxxxxxxx(+216) 52 958 794 <0021652958794>
>> <http://twitter.com/medfredjmans>
>> <http://www.facebook.com/mansour.mohamed>
>> <http://tn.linkedin.com/pub/mohamed-mansour/76/498/25a/>
>> <https://plus.google.com/u/0/+MohamedMANSOURdev/posts>
>>
>>
>

References