0

While I'm developing an application with the Nokia 2.0 SDK, I've found this bug in my app. When the device is in Portrait mode, the Form's scroll works fine but when I change the orientation to Landscape I find that the scroll makes bigger than the info in the page.

How can I solve that?

Portrait mode Landscape mode

Mun0n
  • 4,438
  • 4
  • 28
  • 46

2 Answers2

1

Seems like a bug in the S40 port. Just detect the orientation change (by overriding Form's size changed) and call setText() again. It will trigger a recalculation of the rows in the text area.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65
  • 1
    Then perhaps the guys at Nokia know something. Its possible that this is a native input field even when viewed. – Shai Almog Nov 23 '12 at 09:43
-1

I solved it!

I forget to put the layout to the Form and it doesn't recalculate the size.

Now it's working! Great!

Mun0n
  • 4,438
  • 4
  • 28
  • 46