[SailfishDevel] Howto activate scrolling when the keyboard shows up ?
Matthew Vogt
matthew.vogt at jolla.com
Thu May 8 06:28:58 UTC 2014
Hi Matze.
Try "contentHeight: dialog.y + dialog.height" in your SilicaFlickable.
Thanks,
Matt
________________________________________
From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Matthias Barmeier [barmeier at barmeier.com]
Sent: Thursday, May 08, 2014 3:04 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Howto activate scrolling when the keyboard shows up ?
Hi,
I tried this but it doesn't help. Same as before. When the keyboard
comes up it hides the last field of my dialog.
My page looks like this:
Dialog {
DialogHeader { title: "Save" }
id: preferencePage
property string selectedName
property string selectedUrl
property string selectedUsername
property string selectedPassword
property string selectedColor
SilicaFlickable {
width: parent.width
height: parent.height
Column {
id:dialog
width: parent.width
y: 100
...
Any hints ?
Ciao
Matze
Am 06.05.2014 11:03, schrieb Pekka Vuorela:
> Tue, 2014-05-06 kello 07:23 +0200, Matthias Barmeier kirjoitti:
>> Hi,
>>
>> When trying to implement a simple dialog I got the problem that the
>> keyboard hides the lower half of my dialog.
>> I tried several things found but nothing worked.
>>
>> Could some one leave me a hint where to look or a code snippet how to
>> make dialog scrollable, when the keyboard is activated.
> Should be enough that the content of the dialog is inside some
> scrollable item, e.g. SilicaFlickable.
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
More information about the Devel
mailing list