0

I have a Web view in my app and ActionBar hides a bottom part of Webview. What schould I do to fit my WebView to the screen above Action Bar?

Here is my QML fragment:

         WebView {

                    id: webViewObj
                    visible: true
                    verticalAlignment: VerticalAlignment.Fill
                    horizontalAlignment: HorizontalAlignment.Fill
                    settings.viewport: {
                        "width": "device-width",
                        "height": "device-height",
                        "initial-scale": 1.0
                    }

...

    }
Igor
  • 556
  • 3
  • 19

1 Answers1

2

Rather that do that use the ActionBarAutoHideBehavior. This will allow you to use the action bar, but take advantage of all the screen to display the web data.

Richard
  • 8,920
  • 2
  • 18
  • 24
  • It would be a great idea, but I have already in my WebView scrolling functionality and I place my WebView in a not scrolling Container. Because of this I cant use ActionBarAutoHideBehavior – Igor Nov 28 '13 at 08:06