How centalize the container in a page?

Hello

Here is my code

    Container {
        background: back.imagePaint
        horizontalAlignment: HorizontalAlignment.Fill
        verticalAlignment: VerticalAlignment.Fill
        layout: StackLayout {
        }
        Container{            id:tocenter
            background: cont.imagePaint
            horizontalAlignment: HorizontalAlignment.Fill
            verticalAlignment: VerticalAlignment.Center
            Container {
                horizontalAlignment: HorizontalAlignment.Left
                Label {
                    id:quotetf
                    text:"\""+objectQD.text+"\""
                    multiline: true;
                    textStyle.fontSize: FontSize.Large
                    textStyle.fontFamily: ""
                    textStyle.fontStyle: FontStyle.Normal
                    textStyle.textAlign: TextAlign.Left
                }
            }
            Container {
                rightPadding: 100.0
                horizontalAlignment: HorizontalAlignment.Right
                Label{
                    id: authortf
                    text:"- "+objectQD.dayauthor
                    textStyle {
                            base: authorstyle.style
                    }
                   maxWidth: 768
                }
            }
        }

    }

Here I want to centralize the container with id: spaced, but his does not work with the code above

' preferredHeight: Infinity "should probably work as well.

When you use a vertical StackLayout, verticalAlignment property will not work. Horizontal will be only.

To center the element vertically, you can add empty containers above and below with set layoutProperties of spaceQuota to StackLayoutProperties: 1, or use a DockLayout.

Tags: BlackBerry Developers

Similar Questions

  • How do the tools and home page

    I find it very confusing, how the main page to create and analyze a pdf file into a Word document

    Thanks for posting the name of the program that you use a moderator can move this message to the correct program forum

    This Cloud forum is not for help with problems of program... program would be Photoshop or Lightroom or Muse or?

  • How can I move these indicator and the control to another page?

    How can I move these indicator and the control to another page? I page Kontrol and those on Installningar page, move!

    Or I want to hide them Kontrol page, how can I do

    Thank you

    Hi q8.

    move: select the controls, move them out of the container tab, drag them into the appropriate page of the tab container

    Hide: Terminal controls (!) right click, select "hide"...

  • HP Officejet Pro 8610: How can I get a report with the total number of pages printed on my HP Officejet Pro 8610?

    The number of pages that print is so critical to a choice to use the "HP Instant ink Plan' or not, how can I find the total number of pages that I printed on my brand new (installed 2 days ago) 8610?  And if I can, there are a total of 'resettable' or working capital?  Don't see anything in the user guide and a search gives nothing usable on this blog.

    Wireless printer installed on an old PC with Windows XP SP3.  I also of course install with cable network but so far it works well on my home network without a network cable.  Is there any operating system, I also have a laptop Lenovo Vista on which I can install this printer.

    Please do not answer I can find total by counting the number of pieces of paper that I have.  Surely the inner workings of this beautiful machine must have the requested data as well as HP can say my consumption if I select the monthly plan of ink!

    This 8610 was a good buy (net $89,00 after the resumption of my six years, Deskjet J36xx) at Office Depot/Max who has of course influenced my decision to purchase.  So far, I am very happy with the print quality and speed, have not yet tried the scanner and will probably never use the fax machine since I have no land line phone.

    Thank you

    Harry

    Hello

    Article #2 of the report printer Ststus will tell you. Please try:

    Printer status report

    The printer status report to view current information about the printer and the status of the ink cartridges. Also use the report to State printer for you help to solve the problems associated with the printer.

    The printer status report contains also a log of recent events.

    If you need to call HP, it is often useful to print the printer status report before calling.

    To print the printer status report

    1. in the Control Panel printer display, press and drag your finger on the screen and then press Setup.

    2. press on printing reports and then tap Printer Status Report.

    Kind regards.

  • How to set the width of the container in sensitive (ask the dialogue) the installation program?

    I want my site to 1000px width. Just for the start of the sensitive dialogue requires dreamweaver colums how much I prefer and I can also put 3 sizes as small. Tablet and computer.

    the size of the container is always 1170. Is this a bug? Ill be grateful for the response. Zet

    In the new Document dialog box, insert the value for the big screen as in

    When the page has been created, you will see that the width is 1000px

  • How can I create a separate page in the menu bar?

    How can I create a separate page in the menu bar?

    I want to create a page that does not contain the bar, other pages, and I don't want other pages to include this new page in their menu bars.

    I want to create a different page (s) completely independent in an existing menu bar and maybe add it's own menu bar...

    Is there a way to do it?

    Yes, you can right click the page you want to have separate and select "exclude of the Menu.

  • How to increase space of a page in the application designer?

    People,

    Hello. I developed a page in the application designer.

    I need to place several records with several fields on the page. But all of the space of the page is not enough to place the fields. We must use a vertical scroll to increase the space on the page to contain all fields. But I don't understand how this feature.

    Can people tell me how to increase space of a page in the application designer to y to keep many fields?

    Try to use the properties of the page, the page size - custom

    Subhash

  • How to disable MO when he moving to an adjacent button with text"the container"?

    I have three main buttons that once rolled on activate a submenu text below them using 'set the text in the container. My problem is, to keep the relationship with the home button and the submenu it is, we want to keep it to the mouseover state when browsing by menu of the text. The problem is, how can I disable it (make the button back to the original image) when the user moves to one of the main other buttons or even away from the menu SUP area (which is something that we live with, if necessary, but it would be nice to make it disappear when moved to a different area of the page)? I want it to appear like a passage of the mouse when you move in the SUP menu (let active for the "container" can be covered), but it is very important to return to the original state once the other main buttons are moved to the course. Can you assign other images that leaves an area of container/button?

    Here is the url for the online reference site (especially since I am probably more described...)

    www.tandemgw.com

    Thank you very much for your help!

    Stephanie:

    http://www.murraytestsite.com/test-NAV2.html

  • How/where to store more information page in the ADF?

    Hi all

    What is the best way to fill the managedBean during the loading of the page?

    In my application, I have a page fragment that displays the details of the user of Webservice DataControl. I have and drag the data to the pageFragment webservice control. This fragment has mapped in the taskFlow and the annex taskFlow in to JSPX homepage as a region. I need to store such user information in any place (ManagedBean / or any other better place to store) that I can use at my request along, because I won't run again whenever the webservice to get the same information from the user. Also, I want to collect and store this information while I give back to the homepage, not after any action of the user.

    Please advice how & where to store the information in the ADF? Can I create a managedBean? If so, how to trigger this class method on page load?

    Thank you
    KLN

    Hello

    in this case, you configure the managed bean to be within the scope of the session. Then, on the first page, you set a stage for restoration after phase listener (it is a beacon in the f: view element). This is phaselistener refers to the bean managed using EL (important). She can do by using an expression of the method in JSF. For example, if the managed bean had a populateUserInfo method then yu might reference #{beanname.populateUserInfo} and run the expression of the method using Java. In the managed bean, the method would be to access the link layer using the BindingContext class

    http://download.Oracle.com/docs/CD/E15051_01/apirefs.1111/e10653/Oracle/ADF/Model/BindingContext.html

    Call

    . GetCurrent () .getCurrentBindingsEntry () BindingContext to get a handle of instance active BindingContainer.

    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    Then on the container of the binding, you call the method to query the Web Service for the modules

    before calling a method on the ADF link layer, make sure that the ADF is binding for the method
    OperationBinding opws (OperationBinding) = bindings.get ("name of the method exposed on the other side");
    If you need pass parameters
    opws.getParamsMap () .put ("name of the argument", value);
    OPWS. Execute();

    You can use similar code to access the information of the user of the iterator method in the ADF to complete managed bean fields. You can access user information from the bean managed through getter and setter methods

    Frank

    PS. : I know that the description is a little rough. I'll see if I can find a sample of blog at a later date

    Published by: Frank Nimphius, 26 January 2010 17:43

  • FROM SHAPED DATENREPORT (how on the same page)

    Hello everyone

    Yes, I know that it is built in a design of two pages where the first is the form and the second report, but I want it for both on the same page so that you can see what he has on the report and add his own line to the table. Well, I could make the creation of a form, then by changing the page and then add another region. Alright. But then I don't know how to link them together so that the data is passed to the form of the report.

    Additionally, the form to fill the data must pass in two separate tables, because a table contains the details of the location and the other opinion about each store. Easy to do on PHP and mysql, but here I'm lost.

    Second thing that drives me crazy it is that I created a table named location as well as street postal code for a store and another for assessment so that customers or workers add a suite evaluate services etc.

    Well, I'm trying to create that shape, that I first talked about this would hold all fields and I do on a SQL query that contains the definitions of the two tables. My XE is completely empty from the remains of other applications, etc. I do the equijoin alright


    Select l.loc_id, l.company, l.postcode, l.street, l.town, e.eval_id, e.loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    location, e-assessment
    where l.loc_id = e.loc_id

    and I get this annoying error all the time


    ORA-20001: unable to create the form on equijoin. ORA-20001: Error Page = 2 item = 'P2_LOC_ID' id = '1324114494879878' ORA-20001: error page 2 item = = "P2_LOC_ID" id = "1324114494879878" a same name something like existing at the level of applications. ORA-0000: normal end successfully

    Well, if this form consists of two tables, it must definitely something in common with them! How did the name of the element suppose to have another name? It is made with the wizzard so supposedly the wizzard you should know, but I tried two days 14 hours a day.

    no indication of how this problem would be invaluable for me

    Thank you

    Alvaro

    Alvaro:

    This help if you supplied alias names to the "loc - id" of each table column in the SQL query? Something like

    select l.loc_id location_loc_id, l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id evaluation_loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    

    CITY

  • All the links on a page was taken over by ads. How can I stop and go to the linked site correct

    All the links on a page was taken over by ads. How can I stop and go to the linked site correct

    You may have ad / bad-ware. More information can be found in the article troubleshooting Firefox problems caused by malware .

    Run most or all of the listed malware scanners. Each works differently. If a single
    program forget something, someone else can pick it up.

    Adblock more {web link}
    Blocks annoying video ads on YouTube, Facebook ads, banners
    and much more. Adblock Plus blocks all the annoying ads, and
    supports Web sites by blocking is not discrete (configurable) default ads.

    Pop-up Addon Adblock more {web link}
    Adblock Plus pop-up Addon - extends the functionality of blocking of the
    Adblock Plus for those annoying windows pop up that opens on the mouse
    clicks and other actions of the user.

    Forum; Homepage of Adblock Plus {web link}

  • I have a lot of PC users who tell me that they are unable to read any letter on the Pages I have created email.  How those who creates a PDF of the original letter of Pages?

    How should we do about creating a PDF of the original letter of Pages?

    Please see the Pages > file > export to and Pages > share > Send a copy > Mail

  • How do the alert / notification bar appears at the bottom of the window, and not the top of the page?

    The notification bar that appears at the top of a page, for example. about blocking pop-ups, moving the content of the page down. Is it possible to put this notification at the bottom of the page bar so that the content is not moved?

    Are you referring to the missing notification of plug-in for Flash Player on the photo below? If so,.

    1. Type of topic: config in the address bar and press ENTER.
    2. To ignore the warning, press the big button "I'll be careful, I promise!
    3. In the search box, paste plugins.notifyMissingFlash
    4. In the search results, double-click plugins.notifyMissingFlash to set its value to false.
      • The icon always appears on the left side of the address bar, but the notification will not appear unless you click on it.

    30 Firefox (currently in the beta channel) also has the following preference:

    • plugins.hideMissingPluginsNotification

    If you mean something else, please attach a screenshot. A link to the page would probably also help.

    You are welcome.

  • How to set the default android home page.

    How to set the home page in the latest browser of firefox for android?

    Hello:

    Unfortunately you can not remove the top sites home page but you can pin a site, remove a site from unpin it and change the url of a pinned site.

    Please read this article for instructions.

    I hope this helps!

  • The print is so small. How can define you default largest size print without having to click the icon on each page?

    The print is so small. How can define you default largest size print without having to click the icon on each page?

    The Firefox Page Zoom feature makes a domain level by area to save favorite settings level users zoom, there is no default Page Zoom level setting in Firefox, as with some other browsers.

    Try the extension Default FullZoom Level:

    https://addons.Mozilla.org/en-us/Firefox/addon/6965

    Or the NoSquint extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/2592/

Maybe you are looking for