Control layout with offset

Hi all

Anyone here can me, there is a way by which I can make adjustments to my minor controls when they will be put in the page-ed?

E.g.

I have a basic container that is a container for "dockLayout", I added two children containers to it, a HorizontalAlignment::Left and another with HorizontalAlignment::Right.

But I want the left one (1st one) to be slightly off to the left, in other words means "its left edge less value. Say "offset = - 10 '.»

Is this possible?

Please don't suggest me 'DispositionAbsolue '.

Please see the pictures attached,

The first Image is output with the available current (DockLayout) the background is the master container and inside this container another (red) and within this ImageView (car).

The red container is the left-aligned.

And now the expected output that I want, please ignore my picture pathetic editing skils just to watch the red container and the car at the breast, they are moved to the left.

So by keeping all the related configuration settings, can I set an offset for these adaptations?

You can use the translation properties, translationX and translationY...

http://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__visualnode.html#property-TRA...

Tags: BlackBerry Developers

Similar Questions

  • Control Automation with Siri on Mac?

    Control Automation with Siri on Mac?

    I am aware that Siri on a Mac of Sierra does not yet support Apple HomeKit.

    As another example illustrating Siri on a Mac is currently quite limited, it is not extensible by developers unlike Siri on iOS.

  • How to convert a table control connects with VISA

    As VISA can accept only string buffer, how can connect us a "Control Panel with VISA?


  • How to fill a control ring with chains [] array?

    How to fill a control ring with chains [] array?

    It must be karma. (Try really bad karma because I couldn't post this question in my original)

    I must have been a Really bad guy in a previous life...  It's not like I'm bad in this one...

    So... what I want to do this time around?  Something that I thought would be easy... Well... it's a long story...  I had a simple solution, but the client wants something else.  -sigh-

    Here is what they want...  They want a control that allows for multiple selections to a control of the ring (or a control that allows a drop down selection menu).  Bites are filled at run time because it is based on 10 000 other precedents of things this particular choice.  So it must be dynamic.

    The snippet of code & images below show what I'm doing a little...

    The bottom image shows on the right bites which is filled in the control of the ring.  Since the number of items / items changes, I didn't have a bunch of controls stacked on another.  In addition, I have to deal with an unknown quantity of selections.

    Does anyone have a solution that can be recommended?  If so, can you share the solution / idea?

    Thank you

    RayR

    I have posted a code that does something similar here: http://forums.ni.com/t5/LabVIEW/array-of-cluster/m-p/1822451#M625032

    It uses a table hint and individual controls that are moved on top of the table and populated as needed.  This approach might work for you?  You would need a two-column table and only control ring, which you would fill properly whenever the currently active cell changes.

  • How can I remove a control created with NewCtrl?

    I create controls dynamically with NewCtrl(). Now, I need to remove them and create different controls.

    How delete/delete one control that I created with NewCtrl?

    DiscardCtrl (); See the "Programming with controls" section in the help

  • Get all time zones with offSet

    I am the all time zones hourly, but without lag.

    I want all time zones with OffSet.

    What I can do.

    I have found no way, so I myself conducted with a custom method.

    Thanks to you all.

  • How to add several tracks with offset path?

    Hello

    I would like to create a script that can create multiple strokes with offset path (incremental or material (user will enter value))

    Is it possible to add several traces? I have found no examples in the script reference or elsewhere.

    Note: Mixtures does not give exactly the same results because sometimes especially when you are dealing with fonts outline paths is to be wrongly mixed a way.

    I'd be happy if someone give at least the main command loop.  I'll try to rest and will share here because I find the solution.

    Thank you

    Best regards.

    question.jpg

    OK, I'm going to assume your sub windows through the capture in the opening screen post.

    This is a completely different approach.

    This example uses executeMenuCommand so is only compatible with CS6 +.

    and Windows is only used from VB

    //-------------------------------------------------------------------
    
    // Offset Path in apperence panel
    
    // Script by Qwertyfly
    // contact [email protected]
    // version 0.1 beta
    
    //-------------------------------------------------------------------
    
    //number of offset paths
    var Qty = 5;
    
    //amount to offset
    var Offset = -5;
    
    //units to offest in
    var Unit = "px"; 
    
    //time to wait in milliseconds before sending keys.
    // more time is slower but more stable
    // I was able to run this with it set to 0, but a little bit of a pause is a good idea.
    var wait = 10;
    
    //-------------------------------------------------------------------
    function FillDialog_Windows(distance){
        var VB = [
            'WScript.Sleep ' + wait + '',
            'Set WshShell = WScript.CreateObject("WScript.Shell")',
            'WshShell.SendKeys "' + distance + '"',
            'WshShell.SendKeys "{ENTER}"'
            ].join('\n');
        var VBgo = new File('~/go.vbs');
        VBgo.open('w');
        VBgo.write(VB);
        VBgo.close();
        VBgo.execute();
    }
    function MakeStroke(offset){
        app.executeMenuCommand('Adobe New Stroke Shortcut');
        FillDialog_Windows(offset);
        app.executeMenuCommand('Live Offset Path');
    }
    
    for(var i = 1; i		   
  • How can I control Illustrator with Powershell?

    I need to automate the conversion of images SVG to monochrome TIFF with Group 4 compression. Illustrator is the only tool I found which allows convert SVG files, that I work with precision. I want to automate the process by using Powershell. Is there a more appropriate tool to use for this task than Illustrator? If so, what is it? Otherwise, there are examples of control Illustrator with Powershell?

    at the base...

    $iapp = New-Object -ComObject Illustrator.Application
    $idoc = $iapp.documents.add()
    $itext = $idoc.textFrames.add()
    $itext.contents = "Hello World from PowerShell!"
    
  • the background behind my pages turned black, how to return to grey? I spent between purge normal, preview, Slug and presentation and closed and open in design and it is always black. I can't imagine layouts with the black arr.plans

    the background behind my pages turned black, how to return to grey? I spent between purge normal, preview, Slug and presentation and closed and open in design and it is always black. I can't imagine layouts with black background please help!

    or maybe that the interface has been defined on Dark?

    Go to Preferences > Interface tab, choose light color theme dropdown on Apearance section (the upper part of the window)

  • How do specify/Associate a layout with content

    I created a new site, I created some content and a few models. Creating content/page I found no option to associate a model or a page layout with the content page. When I try to preview the content or try opening in web mode, I get the following error.

    "A provision of the content must be specified to restore this asset in web mode. Please specify a default page layout. »

    Need to help me solve this problem.

    The model that you want to use, is the use of the value, model serves as a page layout?

  • Why can't you have variable conditionalized on template and control them with expressions?

    I have a chapter that is shared between two guides with different titles. On master pages, I inserted the variables for the two titles of books and conditionalized of each variable.

    When I go to the pages of the body, both titles appear in footers. When I apply expressions to control what as I want to appear, they both disappear. The only way of making return must show all.

    Note that the expressions work perfectly with conditional text on the pages of body. Apparenlty that they do not work on master pages. This seems to be a bug, no?

    I withdraw this question: you can have variable conditionalized on master pages and control them with expressions, provided your expressions do not confuse FM. For example, in the chapter, I have this expression:

    "NotInHelp" ANDNOT "hidden" ANDNOT "SalesPM" ANDNOT "HelpOnly" ANDNOT "Report_Caching."

    The first tag condition, NotInHelp, to which we are asking FM to show (the others hid), is the cause of all hide conditionalilzed, even if it worked properly when we tested it in an individual file.

    Remove "NotInHelpAND" solved the problem. Learned something about expressions today. fun!

  • What controls the space above "maincontent" in CSS layout with header?

    In a page layout CSS freshly downloaded with header (twoColHybLtHdr or similar), there is a space of subject 20px from the bottom of the header area to the top of the box maincontent.   For this reason of space, when a bottom border is added to the header and a left edging maincontent, two lines don't intersect, which is what I want.  What controls this space so I can get rid of him?

    Thank you, Joann

    Hi Joann,

    Add this to your CSS and it will consolidate the gaps for you.

    / * put the parameters of the default browser on all zero * /.

    * {margin: 0; padding: 0; line-height: 100%; do-size: 100 %}}

    Then manually add some top of the margin, margin-bottom, padding and line-height to your different selectors: h1, h2, h3, p, ul, ol, li, li, etc...

    Good luck

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.com

  • Cannot switch the language layout with wireless keyboard

    I do a sort of a media center for my mac mini. So far, everything is great, except for one very annoying thing. I bought this wireless keyboard and it's working great, although there is a problem with the layout language switch. When I change the input language - it is off, according to the change of language icon, if a text input is always in English. I'm quite confused and don't know if it's related to the keyboard itself or it's a question of OS (same behavior was on yosemite, before I've upgraded to el capitan)

    Any help is greatly appreciated!

    Are you talking about the little flag in the menu bar? This has nothing to do with the language itself, it has to do with keyboard layouts. Any reason you need to switch the layouts?

    If you want to change the language of the menus and other system, then you must go to

    System-> region and language preferences, then change the order of the languages.

  • You can control volume with bluetooth headset and the new Apple tv?

    Hello community!

    I have a new Apple TV and I'm watching tv and movies series, but the only way I can do it is night. I don't want to disturb my family, so I was wondering if I can watch it with a bluetooth headset and control the volume. What I mean is if I can have a very low volume on the TV but more volume on my headphones. I can do with my PS4, but I have most of my movies in iTunes.

    Thanks for any help you can provide.

    You cannot output audio to the tv and the headphones at the same time if that's what you're asking. However, you will be able to control the volume of the headphones using the distance of Siri.

  • MBP and Hercules DJ Control Air with El Capitan

    My son has this Panel DJ Hercules, which he uses when children have a part here at home. He has used successfully in the past on the MBP with the Mavericks, Yosemite, and he wants to work again with his next birthday. I have not yet found anything ito compatibility or incompatibility with El Capitan.

    Before this specific MBP is updated to El Capitan, I would be grateful if anyone has had experience with the combination configured as such.

    Leo

    MBP 8 6.2 GB RAM 256GB SSD with OS X 10.10.5 and Hercules DJ Control AIR

    Hello Leopardus,

    Thank you for using communities of Apple Support.

    According to the pilot of the Hercules DJControl Air download page, they currently support the latest version of OS X, 10.11.

    https://support.Hercules.com/en/product/djcontrolair-en/

    If you have further questions about this product, then I suggest that get you in contact with their support team.

    https://support.Hercules.com/en/contact-en/?p=DJControl%20AIR

    Take care.

Maybe you are looking for