INTERFACE with the waterfall design: how 2 controls arranged in a single line?

Hi all

Cascade using I can easily drag and drop the control in the definition of qml and can preview visually. But it seems to draw the controls row-by-row. How do control the position absolutely on one line?

In this case, you must use the DispositionAbsolue as the layout for this container, but note that you must specify the coordinates for each control. See the example below to place two buttons on the same line:

import bb.cascades 1.0
import bb.system 1.0

Page {
    Container {
        layout: AbsoluteLayout {}

            Button {
                id: btnConn
            objectName: "btnConn"
            text: "Connect"
            preferredWidth: 330
                layoutProperties: AbsoluteLayoutProperties {
                    positionX: 44
                    positionY: 260
                }
        }

        Button {
            id: btnDisc
            objectName: "btnDisc"
            text: "Disconnect"
            preferredWidth: 330
                layoutProperties: AbsoluteLayoutProperties {
                    positionX: 394
                    positionY: 260
                }
        }
    }
}

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • USB human interface with the brand lleyow

    Please I frequently have problem with usb human interface with the brand of lleyow next to bet.

    Pease how can I fix this problem driver version 6.0.6000.16386 windows vista pk2 thanks

    Hi thonson35,

    ·         Have you made changes on the computer before this problem?

    ·         You get the error message?

    ·         Do you have any human Interface device attached to the computer which does not (such as the keyboard, mouse and joysticks)?

    I suggest you to uninstall and reinstall all devices interface. Follow these steps:

    1. Click Start, type device Search Manager and press to enter.

    2. Device Manager window opens, expand Interface devices.

    3 right-click every device under the peripheral Interface node and then click on uninstall to remove them one at a time.

    4 restart your computer, windows will reinstall the Human Interface Devices.

    5. perform a test to ensure that the problem is solved.

  • Until the latest update when the AutoComplete bar has been selected, he "went" no other by clicking. I must now click the refresh arrow. It won't work even with the return. How can I operate the old way easier?

    Until the latest update when the url I wanted in the address bar of AutoComplete has been selected, it "accompanies" no more further by clicking on. I must now click the refresh arrow. It won't work even with the return. How can I operate the old way easier?

    You can disable this extension in tools > Modules > Extensions and close and restart Firefox normally.

  • Problem with the volume on Satellite Z30 control - A

    Hello

    I have a problem with the analog output sound on my A - Z30 (internal and line/headphone speakers). If for example I play music I see a clearly weak signal volume on the fader control of volume in my Win 8.1 source volume control. But on the master fader, I get a completely saturated and distorted signal. Even down to the time source and output does not help... it just sounds horrible.

    See: link: [https://dl.dropboxusercontent.com/u/30325547/SoundProblem.jpg] (sorry, it's a German system)

    Here we can see that the (extreme right) music player delivers a signal of low volume, while the master fader (left) receives a 100% volume distorted signal.

    If I use external speakers that connect via USB (Logitech Z305) it works perfectly.

    I have already uninstalled and reinstalled the latest version of the drivers for my sound card. But this problem is very persistent. It seems that something pulls the signal up, but I can't find any control that turns off.

    I'm not completely sure when that started, but it can be connected with the beginning of the use of a USB headset. But I already uninstalled this software once again, but that did not help as well.

    Any idea?

    Thank you very much

    PHILIPPE

    Hello

    According to the specifications of the laptop and drivers available on the Toshiba driver page, this laptop supports the Realtek sound card.
    That's why the Realtek HD audio Manager software should be available in the control panel.

    Realtek HD audio Manager provides different parameters as well as the speaker of the configuration options to get the best sound performance.

    In addition, computers laptop Toshiba are preinstalled with a sound tool DTS/Soft
    This software provides audio improvements in your computer.

    To be honest, I not quite sure what which could affect your sound volume, but the mentioned tools and configuration should be checked permanently m.

  • my wifi password has been changed and now I want to get back in touch with the new password HOW

    my wifi password has been changed and now I want to get back in touch with the new password HOW

    Hey gerritfrompretoria,

    If you are not prompted to use the new password to your Wi - Fi network when trying to connect, you may have to remove the network on your system. This can be done by the following steps.

    1. Open system preferences in the Apple menu
    2. Choose the network
    3. Select a Wi - Fi connection on the left
    4. Click Advanced... in the bottom right
    5. Choose your network from the list of preferred networks
    6. Click on the '-' at the bottom of the list
    7. Click OK
    8. Click on apply

    Once removed try to connect to your Wi - Fi network normally and you will be prompted for the password.

    Sincerely

  • After editing an image in windows Photo Gallery can't save the picture. I get a message that tells me that something is wrong with the application. How to fix this problem?

    After editing an image in windows Photo Gallery can't save the picture. I get a message that tells me that something is wrong with the application. How to fix this problem?

    Hello

    I suggest you to refer to this link and check if it helps:

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

    It will be useful.

  • I'm trying to uninstall Cs6 master collection and I can't because this information is displayed ERROR: DW040: the product '{E8AD3069-9EB7-4BA8-8BFE-83F4E69355C0}' is not installed. Cannot proceed with the uninstall. How can I solve this problem?

    I'm trying to uninstall Cs6 master collection and I can't because this information is displayed ERROR: DW040: the product '{E8AD3069-9EB7-4BA8-8BFE-83F4E69355C0}' is not installed. Cannot proceed with the uninstall. How can I solve this problem?

    Hi Paulov53532347,

    Try to use the cleanup for the same tool: use of the Adobe Creative Cloud cleaning tool to solve installation problems

    Let us know if that helps.

  • In our Web page we have pages with lists of the pdf reports that we want to make available. I tried a search engine, but it only directs you to the page with the list. How can we lead the researcher to a specific report?

    In our Web page we have pages with lists of the pdf reports that we want to make available. I tried a search engine, but it only directs you to the page with the list. How can we lead the researcher to a specific report?

    Exactly, it would depend on how you have set the referencing of your site, please check the suggestions made in this tutorial:

    https://helpx.Adobe.com/Muse/how-to/sitemap-XML-file-explained.html

    In addition, you can check these:

    http://musewidgets.com/collections/all/SEO

    Thank you

    Sanjit

  • I'm under 11 items on Windows 8.  When I use the healing tool, the entire picture moves with the cursor.  How can I fix it?  Thank you!

    I'm under 11 items on Windows 8.  When I use the healing tool, the entire picture moves with the cursor.  How can I fix it?  Thank you!

    Worked like a charm.  Can't thank you enough, R Kelly!

    Ken

  • I work in psd, I want to send an email to pdf, with the pixel format, how can I do?

    I work in psd, I want to send an email to pdf, with the pixel format, how can I do?

    I work in psd, I want to send an email to pdf, with the pixel format, how can I do?

  • Embedded audio player doesn't work with Firefox in a laptop computer, but works fine on a PC. How can I fix? It started with the new design of Firefox.

    This problem apparently only occurs with the audio player built into http://www.theskepticsguide.org/ . I tried other embedded audio players from other websites and they work fine. In the Firefox installed in my laptop, no matter what I do it does not play the SGU podcast. When I try to click on the download option it says "Video cannot be read because the file is corrupted. However, I can play and download the podcast without any problem with Firefox installed in my PC, which is the exact same version that is in my laptop, so I don't really know what could be the cause.

    I remember that this was not the case before the new design of Firefox. I tried the solutions proposed on this problem before asking this question. I checked that the plugins are up-to-date. I removed all the addons and plugins, and this did not help either. Firefox reset with no luck. Also tried a fresh install of Firefox and it didn't work. I used the laptop without synchronization first, and then synchronize with no difference. Flash is up to date and there is no apparent problems there.

    Maybe it's a codec missing or damaged? I wouldn't trust codecs from sources other than Microsoft for this purpose, since Firefox tries to use Windows to read the file.

    If you decide to give up and around the native player for a plugin, these changes of settings usually work for this:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste media and make a pause so that the list is filtered

    (3) [except XP], double-click on media.windows - media - foundation.enabled to change its value from true to false.

    (4) double click on media.directshow.enabled to change its value from true to false.

  • To print pictures from photo gallery of microsoft with the name information, how can tab and legend of the top file or image, I do this?

    I want to print a number of photos of Microsoft Windows Photo Gallery.  On or near each photo I would like to print the name, tag and caption information.  Please tell me how to do this.     If the software provides this option, is there a way to print screen allows to achieve the same results.  I have a Microsoft Natural Keyboard ergonomics 4000v1. O?   Thank you

    Hello

    1. what operating system is installed on your system?

    2. are you referring to the Windows Live Photo Gallery?

    No, because this seems to be design.

    Captions and descriptive labels are written in pictures properties will be transferred with the pictures of any computer.

    Please provide more information on the issue to help you further.

    If you are referring to the Windows Live Photo Gallery, I suggest you to send your application in Windows Live Photo Gallery Forums.

    http://windowslivehelp.com/product.aspx?ProductID=20

    Also, you can use third-party applications to perform this action.

    Warning: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • Using the data logged in an interface with the aggragate function

    Hello

    I'm trying to use logged data from a source table in one of my interfaces in ODI. The problem is that one of the mappings on the columns target implies a function (sum) overall. When I run the interface, I get an error saying not "a group by expression. I checked the code and found that the columns jrn_subscriber, jrn_flag, and jrn_date are included in the select statement, but not in the group by statement (the statement group contains only remiaining two columns of the target table).

    Is there a way to get around this? I have to manually change the km? If so how would I go to do it?

    Also I'm using Oracle GoldenGate JKM (OGG oracle for oracle).

    Thanks and really appreciate the help

    Ajay

    "ORA-00979"when the CDC feature (logging) using ODI with Modules of knowledge including the aggregate SQL function works [ID 424344.1]
    Updated 11 March 2009 Type status MODERATE PROBLEM

    In this Document
    Symptoms
    Cause
    Solution
    Alternatives:

    This document is available to you through process of rapid visibility (RaV) of the Oracle's Support and therefore was not subject to an independent technical review.

    Applies to:
    Oracle Data Integrator - Version: 3.2.03.01
    This problem can occur on any platform.
    Symptoms
    After successfully testing UI integration ODI using a function of aggregation such as MIN, MAX, SUM, it is necessary to implement change using tables of Journalized Data Capture operations.

    However, during the execution of the integration Interface to retrieve only records from Journalized, has problems to step load module loading knowledge data and the following message appears in the log of ODI:

    ORA-00979: not a GROUP BY expression
    Cause
    Using the two CDC - logging and functions of aggregation gives rise to complex problems.
    Solution

    Technically, there is a work around for this problem (see below).
    WARNING: Problem of engineers Oracle a severe cautioned that such a type of establishment may give results that are not what could be expected. This is related to how ODI logging is applied in the form of specific logging tables. In this case, the aggregate function works only on the subset that is stored (referenced) in the table of logging and on completeness of the Source table.

    We recommend that you avoid this type of integration set ups Interface.
    Alternatives:

    1. the problem is due to the JRN_ * missing columns in the clause of "group by" SQL generated.

    The work around is to duplicate the knowledge (LKM) loading Module and the clone, change step "Load Data" by editing the tab 'Source on command' and substituting the following statement:
    <%=odiRef.getGrpBy()%>

    with
    <%=odiRef.getGrpBy()%>
    <%if ((odiRef.getGrpBy().length() > 0) && (odiRef.getPop("HAS_JRN").equals("1"))) {%>
    JRN_FLAG, JRN_SUBSCRIBER, JRN_DATE
    <%}%>

    2. it is possible to develop two alternative solutions:

    (a) develop two separate and distinct integration Interfaces:

    * The first integration Interface loads the data into a temporary Table and specify aggregate functions to use in this initial integration Interface.
    * The second integration Interfaces uses the temporary Table as Source. Note that if you create the Table in the Interface, it is necessary to drag and drop Interface for integration into the Source Panel.

    (b) define the two connections to the database so that separate and distinct references to the Interface of two integration server Data Sources (one for the newspaper, one of the other Tables). In this case, the aggregate function will be executed on the schema of the Source.

    Display related information regarding
    Products

    * Middleware > Business Intelligence > Oracle Data Integrator (ODI) > Oracle Data Integrator

    Keywords
    ODI; AGGREGATE; ORACLE DATA INTEGRATOR; KNOWLEDGE MODULES; CDC; SUNOPSIS
    Errors
    ORA-979

    Please find above the content of the RTO.
    It should show you this if you search this ID in the Search Knowledge Base

    See you soon
    Sachin

  • With the item inspector how to open in % $# * % $ print the code show you so richly?

    I can't believe that these print screens is not easy and obvious - regular routine Print of Firefox is not capture the modal window with the code in it.

    Ron Hufham

    No, no, select the part of the web page you want to print, right click, etc.

    You can submit suggestions for feature here: https://input.mozilla.org/feedback

    For reference (I don't see mention of print): https://developer.mozilla.org/docs/Tools/Page_Inspector

    I don't know what you mean by this part:

    rightron said

    If you know WP has its own utility of code? Can't find that either!

    WordPress articles are divided into several source files, which you can view via the administrative control panel, but I don't think that WP has a beautiful view of HTML source of the final page that is served.

  • When I search something, firefox opens a new tab with the results. How can I change the settings to where it will stay all in the same tab?

    When I search something Firefox automatically opens a new tab with the results of this research. How can I change the settings to where the results will appear in the same tab where I made the research?

    If you want to open search results in a new window most often is a parameter of the search engine you use.

Maybe you are looking for