Scroll/overflow for QML Pages?

Someone ask about the nature of each component QML.

I assumed that the stacking of components (ImageView, label, text box, etc) with a direction from top to bottom will cause finally the page scroll vertically.

However, in my case, I created a page with a Page element, and then the container, then ImageView with an image that takes about half of the screen. I then added TextArea component with several paragraphs of text. But it seemed to crush my image vertically is not proportional and distorted. I think he did this to fit everything on the screen as now the TextArea cut just before my bar tabs at the bottom.

But shouldn't the TextArea component extend far the text ends, and the entire page should scroll to the user? By coincidence, my goal is to keep the TextArea how it is and scroll independently with a smaller space occupied. But the fact is, I don't know why the image at the top was crushed to do this. I solved the problem with setting image resizing, but shouldn't have an overflow and allow default scrolling upright?

Sorry if this is an obvious answer, but I'm still getting used to the Cascades. Thank you.

Actually I don't expect a Page to scroll unless I told you to scroll. Just different ways of seeing things, I guess.

There is a distinct element of ScrollView, so you could add to the page and insert your content in the ScrollView. Maybe you could try that?

Tags: BlackBerry Developers

Similar Questions

  • Pushed QML Page won't scroll

    I push a QML page like this:

    var page = locationPage.createObject();
    nav.push(page);
    

    I have textboxes, webviews, selectors date..., so that they stretch to more than what is visible. The page won't scroll to the property. What can I do?

    I tried to manually set the height for containers, but that did not help.

    Hello
    Place content in the container and wrap it in ScrollView.

    Page {
        ScrollView {
            Container {
              TextField { }
              Button { }
              ...
            }
        }
    }
    
  • reuse the actionitems for everything what you qml pages

    Is there a way to do this within qml so I don't have to rewrite all actionitems to actionbar page for each page?

    I assumed its doable in c ++ but I prefer to use qml.

    So if I have a large number of common page actionitems as part, contact us and everything can I set in a qml, and make it available to each page.

    Make a basic qml file Page where you define all the common shares. Whenever you have a page that needs to use these actions, use this Page as your "superclasse".

    BasePage.qml:

    Page {
        actions: [
            ActionItem {
                id: action1
                 ....
            }
        }
    }
    

    Implementation of BasePage.qml page:

    import "../folderContainingBasePageDotQml"
    
    BasePage {
        // this page will contain action items defined in BasePage.qml
    }
    
  • Effects of scrolling not exporting only not for 1 page

    Hey he who reads this. I'm pretty much a newbie to the site do so I'm totally clueless as to how to solve this problem. I've been looking for other forums, but nobody seems to have a clear answer. I have this site that I've been playing with for the past few months and no matter what I do: remove the page and make a new, update the program, etc., I have this a page that keeps giving me this...

    warning.JPG

    basically the little drop-down menu has disappeared as an image, but its especially the menu small black top I'm worried. Here's what it should look like in...

    supposed to.JPG

    and here is my page of problem...

    looks like.JPG

    the menu should be higher than white box, but it's just to the top disappeared. I'm starting to get excited as my deadline is coming and I don't want to start over.

    ! any help to resolve this would be greatly appreciated!

    You can have scrolling or that effects pages may have but they are not compatible, so most of the time you can have both... If you make this page fixed width so the scroll effect will remain.

  • How to display the scroll bar on every page of the tab where the content from the same block of data?

    Hi gurus,

    Is it possible to display the scroll bar on each tab on Web tab page where the display of content from the same block of data?

    for example:

    Block of data elements used:

    1. employee ID

    2. first name

    3 first name

    4 date of hire

    scroll bar appears on the page 1

    5 salary

    6 commission

    scroll bar appears on page 2

    Many thanks in advance,

    Kind regards

    Ferrere

    Dear fendy_chang,

    A data block can have only 1 scroll bar. If the form is for display purpose, you can create several data bloks that points to the same table for each tab.

    Manu.

  • I would like to delete policy, top stories, stories recommended, a trend of stories for you page on new app

    I would delete policy, top stories, stories recommended, new trends for you page on the news application? Please get what he was better before we can remove it

    Hello, fredym1!

    Thank you for joining the communities Support from Apple! Looks like you're wanting to customize the news application in the section for you. That's a big question! Read this article with the steps to use news on your iPad, iPhone or iPod touch. More precisely:

    Customize for you

    Add themes and channels that interest you in the section Explore to your Favorites. This allows new decide what kind of stories you show for you.

    To display the list of channels and topics you follow, tap on Favorites.  If you subscribe to a channel, there is a separate section in the Favorites for your subscriptions. You can also sort the bookmarks by name, visited recently, or most visited. Just tap Favorites at the top of the screen, then choose how you want to sort them.

    You want quick access to headlines? Learn how to Add the new app to your Widgets on your iOS device.

    Add a subject or a channel

    1. Tap Explore the bottom of the screen.
    2. Browse the categories, channels and topics that interest you.
    3. When you find a channel or a topic you want to add, click on .

    Looking for a specific topic or channel? Click the Search tab and enter what you are looking for. You can also add a topic or a channel, you are looking for to your Favorites. Just type in next to the search results.

    Remove a theme or a channel

    1. Go to your Favorites.
    2. Tap on edit.
    3. Type in the upper right corner of the string or the topic you want to delete.

    You can also cut a channel to avoid stories appear in your feed you.

    See you soon!

  • When I scroll a certain Web page, browser reloads the page upward, this happens even if I change the browser... Why? Help, please!

    When I scroll a certain Web page, browser reloads the page upward, this happens even if I change the browser... Why? Help, please!


  • When I click on a new tab, how to make the new tab the common provision of seaches for the page?

    OK, I was stupid and downloaded this file that has changed all my Firefox settings. Now, when I click on the new tab button, search for Funmoods page comes up and I really want to get rid of it and I do not know how do I go back to my original the new tab page that shows my best sites.

    Hello angewa95, please remove all the extensions that refer to funmoods in firefox > addons > extensions & then install the addon searchreset (despite its name, it will also recover the new tab the page by default).

  • Now I have firefox at the top of my screen, then file, edit etc, then Home tab and then back, to the front, my bookmarks and then a small space underneath for my pages... If he gat all smallet that resemble my iPhone!

    Now, I have firefox at the top of my screen, then file, edit etc, then welcome tab, then back, forward, then my bookmarks, and then a small space underneath for my pages... If you find any smalliet that it will look like my iPhone! ... I can get red of some or move them?

    Hello

    Please see customization. You can hide/show elements via View (Alt + V) > toolbars.

  • I get this error msg - permission denied for < Web page > get XPCComponents.classes property

    A couple of days, I started getting the msg of error-permission denied for < Web page > get the XPCComponents.classes property. It happens with every Web page I visit. If I hit the x in the upper right so I can access the page. Is not in Internet Explorer. Any ideas how I could solve this problem and why she started to happen?

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the mode without failure of Firefox 4.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    When find you what is causing that, please let us know. It might help others who have this problem.

    If you look in the error for this XPCComponents.classes error Console, there should be a Source file: chrome: / / address that could give us information which extension is causing this message.

    Firefox button > Web Developer-> Console for errors or simply use {Ctrl + Maj + J} from the keyboard

  • Tabs for new pages have changed and I don't know how to fix.

    For new pages tabs have looked at more sites but are now empty.  How can I get that back to the sites?

    You can not.  It's a feature of google and he has been removed from Internet Explorer for some reason any.  If you want bad enough functionality, it is always available if you switch to Firefox.  In Internet Explorer, you can change a blank page to a page of tabs in Tools / Internet Options / Tabbings / settings / and select from the drop-down list which of the three options to your tabs to show the opening.  That's all that is now available.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • HP Officejet: How can I get my HP Connect acct give me credit for printed pages, but does not start printing

    How can I get my account HP Connect give me credit for the pages that they have counted print which did not actually print because the computer did not communicate on the printer correctly.

    Hello @Gunth,

    Welcome to the Forums of HP's Support. I guess when you are referring to the credits of the page you want to say that the instant the ink program. I would like to help.

    This isn't something that can be controlled from your connected HP account. You will need to speak to a representative of the competent Department of ink instant.  (A congratulations to move things in the right direction would be appreciated). The question now is how to communicate with the instant the ink service.

    Here is the solution/answer:

    The following link will give you the phone number for the different departments of the ink instant.

    Simply choose the one that applies to your country of residence.

    Instant ink contact information.

  • How to close qml page button

    How to close a qml page by calling button or image... Please note my coding below and correct it...

    {Of container

    horizontalAlignment: HorizontalAlignment.Right
    Button {}
    ID: nearby
    text: "EXIT".
    maxWidth: 300
                                
    onClicked: {}
    Close()
    }

    }

    }

    If your Page is a worksheet you can close

  • Dynamic changes on qml page does not not via RPC

    Hello

    I want to change a user interface of the qml page dynamically according to the response from the web service of CPC file. If I make a few changes that I need to reload the page qml whenever changes are displayed. If I don't make these changes using JavaScript function so no need to reload the page. The changes are automatically displays on screen.

    How can I change the dynamic UI of the CPC file without reloading the qml file?

    Hello

    Are you sure you are not creating a second instance of the leaf? If you create and show the QML sheet, you will need to find the original instance in C++ code. This thread describes a similar problem:

    http://supportforums.BlackBerry.com/T5/native-development/problem-in-SetProperty/m-p/2611947#M49267

  • Note: The settings for this page are automatically saved in the Web browser cookies.

    I have a printer of C311a e-all-in-one HP Photosmart 7510.  When you look at the section of customizing built-in browser page printers, at the bottom of the installation of the list can be found this message:

    Note: The settings for this page are automatically saved in the Web browser cookies. If the Web browser cookies are deleted, these settings are lost.

    I would like to the file name for this cookie and can then ensure that this cookie is excluded from cleaning in the various tools that I could use for basic maintenance.  Thank you.

    I suspect that you gave me perfectly fine information.  However, given that this cookie file is not on my machine, determine why would come next.

    In fact, given the costs associated with this effort, profit generated over the lost time and possible third party website access to this particular cookie. all dictate that I have overcome this effort - for now.  I don't respect the time you have invested in answering my question, placing me in your debt in at least a couple of beers.  I want to thank you for the information provided.

    Mark

Maybe you are looking for