[BB10 beta sdk] waterfalls StackLayout

Provision of vertical stack labels have great spacing. Why? And how it can be fixed?

See screenshot below. There is a stack horizontally and vertically integrated in it.

Vertical presentation contains three labels and two images and not have padding or margins set.

Just getting into myself and have not tried to reproduce your results again. Two suggestions:

1. check on the device or the sim card, since the QML Momentics preview may well act differently in some cases.

2 try to force padding/margins to 0 explicitly, in which case there are default values in some cases. Cascades certainly tried to "make you look good" for you, in some cases, so perhaps here too?

Tags: BlackBerry Developers

Similar Questions

  • Using the two PB 2.0 + SDK & BB10 Air SDK in Flash Builder 4.6

    Hello

    Any of you have experience creating applications using the PB2 + and BB10 Air SDK in Flash Builder? How do you change the build configuration between two SOFTWARE development kits? So let's say you make apps for Playbook and at the same time you are doing apps for BB10...

    Where do you set your IDE with these settings?

    Looking forward to your answers.

    There is essentially only one way to do it: you first install the 2.0 + SDK, then the BB10 Beta SDK. This is how you make sure that you have the data of these two software development kits installed on your pc. The Flash Builder plugin will be the BB10 sdk.

    I tested some of the components of the SDK BB10 on PlayBook OS 2.0.1. Needless to say that some features are not supported.
    Note: When I talk about libraries and 'ane's, I mean those provided by the SDK BB10. The following findings are valid with a pre-BB10 PlayBook OS 2.0.1 is the last one I think. PlayBook OS 2.1 can be considered BB10, although some features don't work there either.
    Here's what I found: you can use fuse controls, but the classes in the package "qnx.fuse.ui.dialog" do not work because the classes in the package "qnx.fuse.ui.window" do NOT work.
    You cannot use "QNXDevice.ane" because "NavControl" class which is indispensable to the actions of the bezel does not work and the notifications do not work either.
    If you use "fuse" components, you must also use 'QNXSkins.ane '.
    The "QNXLocale.ane" does not work. 'QNXNetwork.ane' no test however. The framework of the call does not work.

    Phew, that was some writing. If I missed something or you have any other questions, feel free to ask.

  • BB10 Beta 2 install on XP

    Could someone install Installer LOOK for BB10 Beta 2 on XP?

    He comes to the point where the window 'Install anywhere' shows and the progress bar but then the window just goes with no installer.

    I got it to work on a Windows 7 computer.

    Never got it to work, so I had to face the blackberry-tablets-sdk directory - 3.0.0 for one machine to another and it seem to work.

  • BB10 Beta 2 Docs

    No time limit when the BB10 beta 2 reference updated?  There few again along the side of the menu of things, but the detail information are just empty.

    You please let me know what specifically you're talking about the article and I'll look into it.

    See you soon,.

    Dustin

  • Display problem list in bb10 Beta 3

    Hello

    I develop a project in the bb10. His work properly in the beta version of bb10 2.

    Now I am this conversion to bb10 beta version 3.

    In that I have a list view. IE filtered list view.

    When header is clicked, the child must be visible.

    I had used the selectionchanged signal.

    but it is not called bb10 Beta 3.

    I had sought in known problem also, but it is not written anywhere as a known issue.

    Thanks in advance.

    bskania.

    Now it's different in Beta 3:

    ListView {
      listItemComponents: [
        ListItemComponent {
          type: "item"
          MyItem {
          }
        }
      ]
    
      onTriggered: {
        clearSelection();
        select(indexPath);
      }
    }
    

    And for MyItem

    Container {
      ImageView {
        id: background
        visible: false
    
        verticalAlignment: VerticalAlignment.Fill
        horizontalAlignment: HorizontalAlignment.Fill
    
        imageSource: "asset:///images/background.png"
        scalingMethod: ScalingMethod.Fill
      }
    
      function setHighlight (highlighted) {
        if (highlighted)
          background.visible = true;
        else
          background.visible = false;
      }
    
      ListItem.onActivationChanged: {
        setHighlight (ListItem.active);
      }
    
      ListItem.onSelectionChanged: {
        setHighlight (ListItem.selected);
      }
    }
    

    Nicolas

  • Why the BB10 Webworks SDK requires java?

    My resolution for the year 2012 is to NOT install the Java JRE on any computer. It is slow, he inflated, it is a security threat and it is owned by the worse Software House in the world.

    OpenOffice (I can't stand the Oracle logo in the startup screen: for me it's dead) LibreOffice mind started because Java is missing? Easy, google docs!

    Eclipse? Notepad ++

    Android SDK? He pit too, BB10 is coming!

    But I remembered that bbwp was just a batch calling a jar, which is understandable, because in this way, it works on win/mac/linux without a lot of trouble

    The BB10 SDK will not install if the JRE is not installed. I opened with 7zip and it looks like the only app that needs it, just install it, flexera installanywhere!

    You did a great job in replacing java binaries by node.js, why not make the full spend and use a decent facility that does not need Java?

    You don't need an installer at all, just unzip the folder and it's done!

    2012 InstallAnywhere Enterprise Edition costs $4499, please do a favor to you and us to these savings and use any program installation.

    It is really an installer for it, expecially if requires us to install a useless platform to automatically capture the virus during the navigation.

    Thank you.

    I spent some time to investigate on and Java is required for bar packaging and signing

    But I found a way to make it work without installing Java (under Windows):

    1. Extract the BB10 SDK with 7zip
    2. Extract the JAR the SDK with 7zip
    3. Merge the content found in the CONTAINER with the contents found outside the jar in a folder named BB10SDK (for example)
    4. Copy the java folder from another computer
    5. Copy it to X:BB10SDK\dependencies\tools (java \bin will merge with the bb10sdk \bin)
    6. Place X:\BB10\dependencies\tools\bin in the system path
    7. Try in cmd if java works
    8. Voila! You can package & sign the apps, with the benefits:
      1. jqs.exe and jusched.exe aren't constantly hogging the cycles cpu
      2. no internet = faster and safer browser plugin
      3. BlackBerry-deploy and other tools available from any where cmd (well, that it's easy)
  • get the problem when starting native/cascades beta sdk - "QML preview is not available.

    Hello friends,

    When I start native/cascades sdk beta (latest version). It shows an error message "QML previw is not available. I am also attaching the screenshot of it. And my PC has no external graphics card.

    Please tell me why I get this message?

    Thank you best regards &,.

    Dinesh

    Hello dinesh,

    Looks like you don't have a graphics device that supports the preview mode. You must have a fairly modern graphics chipset with sufficient support to use the live preview Momentics openGL. Details are provided in the section 'Manufacturer of Cascades' to https://developer.blackberry.com/cascades/download/releasenotes/. Unfortunately, unless you upgrade your graphics card, you should probably use the Simulator or device to display your user interface.

    Tim

  • How confirm BB10 Air SDK was installed in flash builder 4.6

    I just downloaded and installed what I think is the BB10 'or' Air SDK from here

    https://developer.BlackBerry.com/air/download/

    When I create a new mobile project with flash builder 4.6, the default descriptor bar is the same as the playbook we.

    for example, this commented out line:

    I was wondering if I failed somewhere along the way and always use the Tablet SDK or if it looks just like that

    -edit-

    also, I need new signature for BB10 keys or can I use everything that exists from a previous installation of the playbook.

    Guess which has not been updated. New BB10 method is:

    Assets/Splash.jpg

    Each image in the list is of a size to use for the device in landscape and portrait. It will automatically detect and use the correct start depending on the size of the device screen.

    Same key signature as with the PlayBook.

  • Better SDK resources?

    Hi all, I'm a writer HAVE heavy looking to switch to plugins programming due to the limitations of the scripts.  I downloaded the sdk and started to learn c ++.  I'm good in literature c ++ I and the sample plugin scripts still resemble gibbly-* for me.  The "tutorial" from the SDK documents section seems not very clear, and I wonder what I'm missing.  If any of you have started as javascripters, and made the jump to the SDK can you give me some advice (not the * type) on the best way to learn this?

    Maybe I'm missing something?  or there is some better tutorials out there?  I googled extensively, but I had no chance of finding something beyond own Adobe documentation.  I was hoping lynda.com might have something, I used to learn a few other laguages/SDK in the past, but they have nothing more.  Any help would be greatly appreciated.

    I've never seen any other source out there beyond their samples & tutorial. If you build successfully samples you are well on your way though. I started by doing this and futzing about with changes minor until I have had an idea for how the API was working and then I tried to build my own plugin (from the ashes of a copy of a sample) projects. If you have problems, your best is to post here - just be accurate as long as its something I can write a fast enough response, I'll answer usually - as others who are hiding here, if I don't have a regular job

    However good luck and welcome to the asylum!

  • Spell checker not working in beta SDK 2.0.0?

    JohnPinkerton tried to get the features of spell check and AutoCorrect on the classes of qnx.fuse.ui.TextInputBase children, without success.  I tried to put together a quick example with the qnx.imf.SpellChecker class and the same thing: no error, but no sign of correction spelling feature at all. Expected events never happen.

    Anyone have any ideas if it actually works?  Two of us were building with AIR is 3.1 and tests on the version beta of OS 2.0.0.48xx on a real tablet.

    package {
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.utils.*;
        import mx.utils.ObjectUtil;
    
        import qnx.events.*;
        import qnx.imf.*;
    
        [SWF(backgroundColor="#cccccc")]
        public class SpellCheckTest extends Sprite {
            public var context:Object = {'test': 'this'};
    
            public function SpellCheckTest() {
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                var checker:SpellChecker = new SpellChecker();
                checker.addEventListener(SpellCheckEvent.SPELL_CHECK_DONE, onChecked);
    
                var word:String = 'suckaFish';
                checker.checkSpelling(word, context);
                trace('checking', word, 'in', ObjectUtil.toString(context));
            }
    
            public function onChecked(event:SpellCheckEvent):void {
                trace(event.type, 'checked', event.text);
                trace('context', ObjectUtil.toString(event.context));
                trace('errors', ObjectUtil.toString(event.errors));
            }
        }
    }
    

    (Useful only if you can see the output of the trace() commands, that is build with the debug mode and run the debugger during the test.)

    Spell checking must be enabled in the beta following, which will happen sometime in January. I don't have the exact dates yet but should be beginning in middle months.

  • problem with double screen bb10 gold SDK

    Hello

    I had this code works in previous versions of the sdk, but now it no longer works.

    Can someone help me understand what does not work (I got it almost like it's documentation).

    Thanks for any help you can provide,

    See you soon,.

    Fred

    Sub PlayerApp::initExternalDisplay()
    {
    int rect [4] =.
    {
    0, 0,0,0
    };

    screen_get_context_property_iv (mScreenCtx, SCREEN_PROPERTY_DISPLAY_COUNT, & miDispNb);

    If (miDispNb > 1)
    {
    screen_display_t * screen_dpy = (screen_display_t *) calloc (miDispNb, sizeof (screen_display_t));
    screen_get_context_property_pv (mScreenCtx, SCREEN_PROPERTY_DISPLAYS, (void *) screen_dpy);

    Active int = 0;
    screen_get_display_property_iv (screen_dpy [1], SCREEN_PROPERTY_ATTACHED, & active);
    screen_create_context (& mScreenCtx2, SCREEN_APPLICATION_CONTEXT);

    screen_get_context_property_pv (mScreenCtx2, SCREEN_PROPERTY_DISPLAYS, (void *) screen_dpy);

    screen_create_window (& mScreenWindow2, mScreenCtx2);
    screen_set_window_property_pv (mScreenWindow2, SCREEN_PROPERTY_DISPLAY, (void *) & screen_dpy [1]);

    use of int = SCREEN_USAGE_NATIVE;
    screen_set_window_property_iv (mScreenWindow2, SCREEN_PROPERTY_USAGE, &usage);)

    screen_get_display_property_iv (screen_dpy [1], SCREEN_PROPERTY_SIZE, rect. + 2);
    screen_set_window_property_iv (mScreenWindow2, SCREEN_PROPERTY_BUFFER_SIZE, rect. + 2);
    screen_create_window_buffers (mScreenWindow2, 2);

    screen_buffer_t screen_buf [2];
    screen_get_window_property_pv (mScreenWindow2, SCREEN_PROPERTY_RENDER_BUFFERS, (void *) screen_buf);
    screen_get_display_property_iv (screen_dpy [1], SCREEN_PROPERTY_SIZE, rect. + 2);

    int [] = bg
    {
    SCREEN_BLIT_COLOR, 0XFF0000FF, SCREEN_BLIT_END
    };
    screen_fill (mScreenCtx2, screen_buf [0], bg);

    screen_post_window (mScreenWindow2, screen_buf [0], rect, 1, 0);

    Free (screen_dpy);
    }
    }

    Found the problem.

    The code works well, but the memory was a mess because of a cursor qml problem...

    Have yet to the bottom of this, but this code works very well.

    Fred

  • New BB10 - Android SDK for Eclipse 1.4 question

    Someone else tried the last SDK again.

    I see a period very long black screen before the application starts.

    The delay is just executing initialization after a new load of software. This does not happen until an Android application is installed (either launch Eclipse or CMD). It's just for alpha dev devices. Do not do this with the Simulator or software version.

    So please do not let affect your confidence, we strive to make glorious experience implementation

  • 5.5 beta sdk will be compatible with the web client 5.1?

    Hello

    We are studying options for vsphere web clinet plugin. We use the 5.1 sdk for our plugin currently. Now we continue to hear a lot of new features coming with 5.5 Sdk. So we intend to spend 5.5 sdk, visitors will also migrate to version 5.5 web client to use our plugin?

    Concerning

    Built with the SDK 5.1 plugins must be compatible with the Web Client 5.5.  Our goal is to ensure backward compatibility for at least 1 major release.

  • Native SDK 2.0 to BB10/cascades...

    I want to start on the writing of native code.  The only device I currently have is a Playbook, so if I start writing apps stunts I won't be able to try on a real device until the playbook is upgraded to BB10 (probably several months?).

    However, I don't want to waste a lot of time learning and writing difficult code user interface as part of the old since BB10 is just around the corner.

    My question - if I started apps written using SDK 2.0 native, it will be simple enough to convert and re - build these apps under the SDK BB10/Cascades later?  Or I'll lose a lot of time learning and writing code that will be obsolete in the new framework?

    If these are not games, but 'Affairs' apps or something else, where you would buttons standard aspect of system, text fields and so on, then, you cannot do with the NDK now at all the...

    If the application's UI-heavy, and you do not want to use stunts, so your best bet is to work with the new Simulator of BB10 beta for now because it supports Cascades.

    If the application is not UI-heavy, but you do not want to keep as close an app of Cascades operation behind the user interface, and then you talk about Qt and can actually run on the PlayBook even Qt applications now. But not with all the parts of the Cascades. If this is an option, use the NDK with the Qt libraries.

    Also consider attending a day BB10 Jam during the "world tour" http://www.blackberryjamworldtour.com and see if you can get a Dev Alpha to test.

    Moreover, 'several months' seems optimistic... I think you can assume rather not before October at the earliest. If they decide to put all libraries of stunts in 2.1, however, or if there is a beta version of developer of BB10 on the PlayBook before the fall, and then those who could help you. They not have given any indication yet (AFAIK) that they could do.

  • Construction of BBM SDK Beta 4 samples in eclipse?

    Hello

    I'm currently building the sample applications included in the 4_03_10_2011 of BBM beta SDK using the BlackBerry plugin for eclipse 3.5. Java version: 1.6 update 20

    I am able to build these projects in the sample with the latest BlackBerry JDE (6.0.0) and run successfully with the Simulator provided in the download package. (but not on other simulators)

    However, when I build the projects platformdemo and platformdemo2 tictactoe in eclipse, they all behave unexpectedly on the Simulator provided gives the error "Eception exception: net.rim.vm.MissingNativeError".

    I think it has something to do with the option of additional Cap "package:com.rim.resources = 3.key" included in the jdp project file.

    Could someone please tell me what it does and how it can be duplicated in the eclipse environment?

    Also, other AIDS to this problem would be appreciated

    Must add net_rim_bb_qm_platform.jar as an external jar from a location that is outside the scope of eclipse workspace.

Maybe you are looking for

  • Skype blocked the 6.15 version

    My Skype has been slain on the version 6.15 for a long time and I tried a variaty of things. No worked. I tried deleting and redownloading Skype, I tried skypes ' check for updates '. When it's enabled updates, on what he says he will put quit. I lea

  • Portege R100 disc read error

    I have a portege R100 and today I get the message error reading disk. Despite several times to try to erase this using ctrl alt delete, the message persists. This means that the hard drive has failed and needs to be replaced?

  • Can not find the search engine on the iPad with iOS 9.2.1 3

    I upgraded my iPad more aged 3 to iOS 9.2.1 when I got my iPhone 6. Everything seems to work, except works more slowly and 'suspended' during the loading of applications. But I see now, there is no search icon as the first screen before the point of

  • Double Twains listed when scanning bank cheque

    When I scan a check to my Bank, I wonder to choose among two twains for my Photosmart 7520: Photosmart HP 7520 Twain... WIA - HP Photosmart 7520 series... I always choose the first, but would like to remove one, so I don't have to make a useless sele

  • cannot do the automatic updates on windows 7

    I'm on windows 7 and my auto update cannot do automatically also when I try to install it it had problems of error. I'm on windows7 ultimate, and this occurs even on 32-bit professional front. I got error code 8024402F