ListView control to fill the available screen height

Hello

Anyone know how I can set the height of a ListView in QML to use all of the available screen height? I tried to use:

verticalAlignment: VerticalAlignment.Fill

.. but who did not work.  ListView is a container which resides in a Page that is in a NavigationPane.  I tried to add the above property to all these elements, but it always gets cut to three-quarters of the height of the screen.

Thank you.

I just thought of it.  I had an ActivityIndicator below the ListView that took place.  I put the ActivityIndicator false visibility when I use it, and that fixed the problem.

Tags: BlackBerry Developers

Similar Questions

  • LR fills the entire screen. How can I reduce this so I can control the size or reduce it with the help of the control-M?

    LR fills the entire screen. How can I reduce this so I can control the size or reduce it with the help of the control-M?

    Hi DP,.

    Are full-screen mode in Lightroom, you can it exist by pressing SHIFT + F.

    Kind regards

    Mohit

  • Portable flow does not fill the TV screen.

    When I connect my laptop Lenovo to my Sansung HDTV with a HDMI cable to watch football, image does not fill the full screen. ANC, someone tell me how to solve this - in terms laymans!

    Hi Stevie H,

    This would happen if the screen resolution is not set correctly on the computer.

    I suggest that you set the resolution of the screen on the computer and check if it helps.

    (a) open settings display by clicking the Start button, clicking Control Panel, appearance and personalization, customization, and then clicking display settings.

    (b) pursuant to the resolution, move the slider to the desired resolution, then click apply.

    HDTV: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/HDTV-frequently-asked-questions

    Connect your computer to a TV

    http://Windows.Microsoft.com/en-us/Windows-Vista/connect-your-computer-to-a-TV

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When I do a bad screen images balloon race to fill the entire screen. How can I find them to normal?

    I don't know what to do so that the stroke of the image upwards. Do not fill the entire screen, they fill the screen to normal size. This has happened on two sites. How can I get them back to normal.

    Is it on Android or desktop? On Android, try double-clicking to zoom out. On the desktop, to reset the zoom, try Ctrl + 0 (it is a zero).

  • Home page fills the entire screen

    When I connect to internet, my homepage (Google) fills the entire screen.  The tabs at the top will appear briefly, then disappear, the taskbar at the bottom is not there, so there is no "Start" button I can click on the closure of the computer; I have to cut out food.  Is there a way can I fix?

    A chrome switched mode "full screen" for some reason any?

    Try the 11 key function toggle to see if this switches between full and glass screens.

    for example, press the button to see if that helps.

    If this does not work, try to press on together to change the selected program.

  • Beginner - how to make the picture to fill the entire screen

    I have two 640 x 480 photos.  It fills the entire screen, and the other is not. What causes this? Photo shop can be used to make the second fill the screen?

    The image is 653 pixels wide by 345 pixels high. You would have to know the resolutions of your phone and tablet to get this picture fits correctly as background, then use command size of the Image in Photoshop to resize accordingly.

    Note that the increase in the size of the image will explode just imperfections, such as digital compression / artifacts that happens in an image to JPEG file. (The famous "macroblocking.") It would be better if you can get your hands on a copy uncompressed this image, if possible, for the purpose of resizing. (BMP and RAW formats are not compressed, for example.)

  • I want an image to fill the entire screen without margins

    I want an image to fill the entire screen without margins, much like this one, http://waltoninsurancegroup.com/contact , but I want to keep my margin for everything else the same. can someone help me with this? dreamweaver CC

    Don't forget to turn off the margin of browser default to yourtag with the css...

    {body

    margin: 0;

    }

    If you do not do this, any width 100% image, you add stops a good 20 pixels of up, down, left, right

  • When I click on 'Write' composing an email in Thunderbird, empty e-mail fills the computer screen in its entirety. How to open upward more small yet? Thank you.

    When I click on 'Write' composing an email in Thunderbird, empty e-mail fills the computer screen in its entirety. How to open upward more small yet? Thank you.

    Double-click the windows position? the forest on the X to close the window on this subject.

  • StackPane not to fill the available space in the window

    Hi all!

    I am facing a problem when you try to resize (even just filling) additional space on a window with a 'structured' node

    Explain:

    I use this framework to manage several scenes: https://blogs.oracle.com/acaicedo/entry/managing_multiple_screens_in_javafx1
    It works fine, but I am not able of to the 'internal' node expand to fill the entire window. I am able to set min width and height to reach the limits of the window, but I would like to set to the mode "full screen" to the node and let the JavaFX do the trick. Is this possible?

    I have attached an image to help the explanation. Basically what I want, it's fill the green zone (controlled Screene that extends StackPane) with blue/pink (Gridpane with bottomAnchor = "0.0" AnchorPane.leftAnchor = "0.0" AnchorPane.rightAnchor ="0.0"AnchorPane.topAnchor = "0.0") node.
    I already tried to extend the framework to the node Anchorpane class but did not work.

    Please follow this link to the image:
    https://DL.dropboxusercontent.com/u/25373134/screen.PNG

    TKS in advance!
    André Castro

    Looking at the blog you linked, there is the following code:

    Group root = new Group();
    root.getChildren().addAll(mainContainer);
    Scene scene = new Scene(root); 
    

    It's probably the cause of your problem.
    A group is not a resizable pane, so it does not develop to adapt to its surroundings.
    Trying to root a StackPane instead and see if that works.

    StackPane root = new StackPane();
    root.getChildren().addAll(mainContainer);
    Scene scene = new Scene(root); 
    

    If this does not solve your problem, please post the full content of the file FXML you use and use a harness to test you app to display.

  • How to fill the entire screen with the background color?

    It doesn't seem like it should be difficult, but of course, it seems to be. I put the background color on themy page, but it only fills half the screen in the Simulator. It's a small page.

    OK, so I went to some styles. I updated the style of the body height: 100%; min-size: 100%. That no longer works. Then I added a

    that enveloped the rest of the content on my page and set the style to the same height: 100%; min-size: 100%. Still nothing.

    What gives? Of course, the Simulator seems all ignore them.

    I use the VS plugin and simulate with the simulator of the storm.

    Thank you

    Bill

    in the onload of the body, you can also do this line of code:

    document.body.style.height = screen.height + 'px';
    
  • Define an ImageView to fill the entire screen

    Hi veveryone,

    I need to have the ImageView stretch to fill the screen. How can I go about it?

    Should I get the height and width of the screen? If so, how?

    Thank you

    The code below does not work, it only centers the image

     Page *root = new Page;
    
        Container *container=new Container();
        container->setLayout(DockLayout::create());
        container->setBottomPadding(0);
        container->setLeftPadding(0);
        container->setTopPadding(0);
        container->setRightPadding(0);
    
        container->setBottomMargin(0);
        container->setLeftMargin(0);
        container->setTopMargin(0);
        container->setRightMargin (0);
    
        container->setParent(root);
    
        ImageView* img= ImageView::create("asset:///images/image.png");
        img->setHorizontalAlignment(HorizontalAlignment::Center);
        img->setVerticalAlignment(VerticalAlignment::Center);
        img->setScalingMethod(ScalingMethod::AspectFill);
    
        container->add(offImageView);
    
        root->setContent(container);
    

    Try this

     Page *root = new Page;
    
            Container *container=new Container();
            container->setLayout(DockLayout::create());
            container->setBottomMargin(0);
            container->setLeftMargin(0);
            container->setTopMargin(0);
            container->setRightMargin (0);
    
            container->setParent(root);
    
            ImageView* offImageView= ImageView::create("asset:///images/image.jpg");
            offImageView->setLayoutProperties(DockLayoutProperties::create().horizontal(HorizontalAlignment::Fill).vertical(VerticalAlignment::Fill));
            offImageView->setScalingMethod(ScalingMethod::AspectFill);
    
            container->add(offImageView);
    
            root->setContent(container);
    
        Application::setScene(root);
    
  • When the page opens it fills the entire screen and I can't access anything else unless I'm going on the current site. I can't reduce it.

    When I opened a site, it fills the whole page and I can't minimize it or get simultaneously to another page. The only option I currently have is to put the cursor in the upper left corner, and only the current site tab appears.

    Firefox may be using the view full screen. To switch to normal view try is:

    • Hit F11 on the keyboard
    • Drag your mouse pointer to the top of the screen and then right click (or try the Mac equivalent to a mouse button)

    Do any of these work?

  • DV5Z w/HDMI does not fill the entire screen

    I have a DV5Z with installed Blu - ray player. When I connect the Dv5z for my Panasonice 42 in plasma 720 p with the HDMI cable, the entire screen is not used in full picture format. There is a border of 1 inch around top, bottom, left and right.  My DV5Z has ATI HD 3200 graphics card and I do not understand where I need to adjust it so that it works ok. I already had a Dv5T with Intel 4500 and it worked fine, (in fact he filled a little too much about "1/4 of the image has been off the screen) but not the DV5z and I don't want to watch some blu ray movies with 1inch border around the screen. Where are the settings for me to adjust so that I can watch movies under the eyes?

    I adjusted the display settings, and it did not work. What could be the problem I need to adjust?

    I also adjusted the aspect of the TV and H-fill is not anywhere close and zoom isn't closed and 4; 3, that's not what I want to use.

    Any help is appreciated.

    Try using the ATI Catalyst software.  You should see an option for HDTV in the list on the left in the Advanced view.  It has a few decent explanations on how to use it to configure your TV.  I do not have my dv5z before me right now so I can't be more specific.  If you need more details, let me know, I got exactly the same problem and got it working.

  • How can I keep my swf file to expand to fill the entire screen?

    I'm selling this metronome:

    http://www.FuzzyMonkeyTabs.com/METRONOME/metronome.html

    I introduced to the activeDen.com and was rejected for "aesthetic reasons" I noticed when I double click the swf file, it opens in my web browser and it is enlarged to fill the screen.  It's bad because I use JPEGs instead of vector art and I don't like the option allow smoothing in flash because it blurs the image a bit.

    So is it possible to make my swf file appear correctly?

    your first sentence is correct.

  • Watch the video on the Pearl Flip 8220 smart blackBerry phones, how to make horizontal and fill the entire screen?

    I have movies on my flip. When I look at a screen remains vertical and small. Is there a way to make the horizontal screen and use the full screen? Thank you.

    After some trial and error, I discovered, you must use the blackberry Media Manager to transfer your movies and when you move the film selected your file to your phone, you must select the option 'optimize '. When I did this it turned the film 1/4 turn so I could watch it on full screen. To make the small of DVD movies to the mpg4, I use a program called "convert M2 to Smartphone". It works well.

Maybe you are looking for

  • I need to change my font color and background color are both black

    HelloI chose accidentally black for my font color and background.Since everything is black, I can't see the text in my window from the preferences (or modules) to restore. Any ideas on how I could do this? Thank you!NC_P

  • touch input with key Tip 2

    I need driver for touchsmart IQ512 to win 8 subscribe to the touch input with key Tip 2

  • How can I remove malware called white smoke?

    When I try to access the internet a program called "white smoke" takes up the research I have google as my homepage, but as soon as I type an address in the search to the top box comes this white smoke search engine

  • ICS and reset data

    OK - so now that we know it is coming in the near future (or so she says anyway), my question is a reset of data happen before moving to ICS, after upgrade to ICS or not at all unless the problems are identified. Only current execution a little non-s

  • ListView cannot see C++ object passed to QML via QmlDocument-> setContextProperty()

    I can access a C++ object using the QmlDocument function-> setContextProperty() in JavaScript inside most of the QML elements (such as containers, ImageButton, control etc.) happened, but can't access it from the JavaScript inside ListView. I get "Re