Storm: is it possible to resize the horizontal width of the Manager?

Hi all

Is it possible to resize the horizontal width of the Manager. I want to create two buttons in horizontal management, set the border background. I use the following code to do this. It works very well. But as there are only two buttons and does not occupy the whole of the 320 width screen, frame border is happening only for these two buttons background. So I could see the spaces apart from the horizontal width in front and in rear areas. So I want to create a horizontal Manager himself with a width of 320, so that the layout border color indicates the full width. Is it possible to resize the horizontal width of the Manager?
 
XYEdges borderColor = new XYEdges (Color.BLACK, Color.BLACK, Color.BLACK, Color.BLACK);
NoPadding XYEdges = new XYEdges (2, 2, 2, 2);

HorizontalFieldManager hzBtnFldManager = new HorizontalFieldManager (HorizontalFieldManager.FIELD_HCENTER);

new CustomControl = createButton ("Create", ButtonField.FOCUSABLE |) ButtonField.CONSUME_CLICK | ButtonField.FIELD_HCENTER, 83, 15);
cancelButton = new CustomControl ("Cancel", ButtonField.FOCUSABLE |) ButtonField.CONSUME_CLICK | ButtonField.FIELD_HCENTER, 83, 15);

hzBtnFldManager.add (createButton);
hzBtnFldManager.add (cancelButton);

At the border btnBarPaddingBorder = BorderFactory.createSimpleBorder (noPadding, borderColor, Border.STYLE_SOLID);
hzBtnFldManager.setBorder (btnBarPaddingBorder);
hzBtnFldManager.setBackground (BackgroundFactory.createSolidBackground (Color.GRAY));

this.setStatus (hzBtnFldManager);

Resolved using HorizontalFieldManager (Field.USE_ALL_WIDTH);

Tags: BlackBerry Developers

Similar Questions

  • Is it possible to resize the bar of menus and other toolbars to make them smaller vertically?

    With the update for Firefox 4 my bar menus and toolbars are now take up significantly more space than they where before - is it possible to resize them so that they take up less space?

    You can try one of the compact themes.

  • Is it possible to resize the slide?

    Hello

    I have a model that I use for my e-learning to keep a consistent look, and because I've set up a few advanced actions.  A project, I need to slightly adjust the height of the blades.  Is this possible?  I want to keep all the slides, and their associated objects and their actions, just the resizing so that I can keep a little more on the screen.

    Hoping that this is possible and that someone knows a way to do this, but a quick search on Google and in the user of Captivate interface did not reveal anything.

    I use Cp5.5 but may upgrade or downgrade if necessary.  Thank you all!

    Have you tried to edit, resize? Be careful when choosing options to avoid quality loss, because CP is all about bitmap. It would have been better to resize the model before adding additional objects.

    Lilybiri

  • Is it possible to resize the document, but keep the content proportions?

    With scripts, there are currentDocument.resizeImage () and currentDocument.resizeCanvas (). ResizeImage() method stretches the image. The resizeCanvas() will resize the canvas but not change the size of the image.

    I'm looking to resize the canvas to a new format, but keep the aspect ratio of the content. Is there a way to do this?

    OK, I got it working!

    adjustedWidth = width;

    adjustedHeight = height;

    If (imageAspectRatio > targetAspectRatio) {}

    adjustedHeight = width / imageAspectRatio;

    }

    else {}

    adjustedWidth = height * imageAspectRatio;

    }

    currentDocument.resizeImage (adjustedWidth, adjustedHeight, null, resampleMethod);

    currentDocument.resizeCanvas (width, height, AnchorPosition.MIDDLECENTER);

  • Is it possible to resize the window of the CC customer?

    One of the computers that use with Creative Cloud is a laptop with a resolution of 1366 x 768.

    The CC customer opens and runs right on the bottom of the screen. I was wondering if there was anyway to resize the client?

    Hi G.S. Kelly,.

    Welcome to the community!

    We can not resize application cloud creative right now, if you want you can pin in however resize the Notification area is not available.

    Thank you!

    Ankit

  • Is it possible to resize the image size for all clips at once?

    I have a video of music finished and when I export there is a black box around the video. I tried to put the exported file back in first and by resizing the area program, but when I exported the video became unstable. I could resize each item individually in the first original file, but it would obviously take a lot of time, so I was wondering if there is a way to select them all and resizing, or even another way to cut out the black bars (trying to size for youtube). Thanks for any help, it is much appreciated.

    -Josh

    Josh,

    Welcome to the forum.

    The best way to handle things is to choose a pre-defined sequence that matches your footage source of the layer at 100%.

    In light of the where you are now, you can go to your first Clip and adjust the fixed effect > Motion > adapted for her greatness. Then, Rt-click on it, choosing the copy. Now select all the other Clips (Lasso with the slider will work) and then Rt click, choose the attributes of the dough.

    CS5 offers a new tool to configure your sequence. Import your footage source of the layer, then select it in the project Panel, drag it to the new icon to get a corresponding sequence.

    Good luck

    Hunt

  • Is it possible to resize the content of at the same time multiple bounding boxes by using number fields in the toolbar?

    I'musing cs6 and need to resize an image and two text boxes on a specific pixel width.

    I try to select all the boxes and punching in 960 px in the resizing of the toolbar field, but only the bounding boxes and not their content get resized...

    Use the field of horizontal scaling (and include units) rather than the field width.

  • Is it possible to resize the boxes?

    I just made a table to make a start list for our RV... makes the list, nice and large and easy to read, but can not change the size of the box to match. I tried to treat it as the text and the increasing size, increase in the size of the table... I know this isn't a typical use of spreadsheet, but it is sortable, etc..

    Hi ' doc,.

    Perfectly good use for a spreadsheet! Two of the models come with 3 numbers are checklists.

    Box size seems to be fixed, no matter what size is set to the text, and no matter what size is set for the cell.

    If you use the worksheet on OS X (on a Mac), you can use a conditional highlighting the rule to fill the cell with green when the checkbox is checked. Put in conditional highlighting is not supported in the version of iOS, but you bring up the cells in box a little more by using a contrasting color on the cell fill, and you can use the formula below to make the text (and possibly an emoji) appear in the adjacent cell when the box is checked.

    ... Or maybe not an emoji. I tried one in row 3, with the result of "syntax error" shown.

    Tier 2 uses the 'black star' character, line 4 the simple text "YES!"

    Line 5 shows the reault when the box is not checked,

    Enter the formula in B2, insert your own text where the star is shown here. Fill down.

    B2: = IF(A,"★","")

    Kind regards

    Barry

  • The System Configuration dialog box; Vista OS: Is it possible to resize the dialog box? If this is not the case, why not plan such an option please?

    Windows Vista; The System Configuration dialog box; dialog resize.

    You can not, this is a dialog box and is not scheduled to be resizable.
     
    --
    ..
    --
    "hyperluckylink" wrote in message
    News: 054b 0592 - 5a9a - 4 c 69-af57-39f8d626f1be...
    > Windows Vista; The System Configuration dialog box; dialog resize.
     
     
  • Is it possible to resize the AnyConnect RDP window?

    When a user goes through our portal without client and initiates an RDP session, the java window resulting is quite small... is there a way to force it to a different size (larger)?  In the wizard for creating bookmarks, it is one "other settings" field that has as one of the following examples:

    geometry = 1024 x 768

    When I try to add this at the end of the bookmark RDP (using the? parameter), users get the message 'credentials are valid, but you do not have the security controls.  If I put the bookmark back to normal, they can access the portal (and RDP) that makes no sense at all to me successfully.

    Any ideas?

    Never alone, I'm resizing when force java in internet explore adding geometry and strength of java to the bookmark:

    RDP://IPAddress? Geometry = 1024 x 768 & BBP = 16 & ForceJava = Yes

  • Is it possible to resize the Photos (in pixels) with Lightroom Mobile

    I would like to know if Photoshop Express or Lightroom Moble apps have the ability to resize photos (in pixels)?  I need an app that I can standardize on iPhone/iPad and Android phone/tablet.  If not Adobe suggestions.  Thank you.

    Hi oborzo,

    Unfortunately, Lightroom Mobile or Photoshop Express has the ability to resize photos using pixels. They both allow you to resize using reports l / h.

    Hope that answers the first part of your post.

    Melissa

  • Is it possible to resize the sidebar presentation 11?

    An earlier version of my presentation, developed by a colleague, showed a high and narrow sidebar with links to many slides.  The new version I created has a wide sidebar that takes too much space on the screen.  Can I resize?  Thank you!

    I think that what you see is a difference in the size of the PPT content. If you bring your slides in more wide without height adjustment so I think you'll start to see a proportionally smaller sidebar.

    I use PPT 2010 and the opportunity to do it is under the Design tab, and then the Page Setup.

  • When I try to open a document size 9 "by 18", Reader it opens as a standard 8.5 "by 11". Is it possible to resize the player frame? Do I need different software?

    The document is an array of seating for my wedding. I did the document in Word due to instructions from this site: http://mrsfancee.com/chalkboard-seating-chart/

    When I save it as a pdf, reader fits just what he can from the original document in the standard page settings and the cutting of parts of my document. Is it possible to do this with the Word document? Or do I have to start all over again in a different software? I'm kind of panicking because it's for my wedding in 11 days, and apparently I don't know what I'm doing at all.

    Sidenote: I called Microsoft already and told me that the problem is not on their end, so this isn't an option.

    Thank you in advance.

    Sigh. It's silly, but it was a Mac over the issue of PC. For some reason, it does not work on Mac with Office 2011, but it worked on PC Office 2007 my friend. Thank you for your questions and your clarification. Mission accomplished.

  • Is it possible to resize the text and icons in the user interface?

    I'm on a Windows 10, 15.6 screen laptop "4 k. The menu bar along the top is sized very well, most of the time. However, all the icons and the text to actually work on fuse are too small for me to look at and click on without having a fight.

    Are there ways to manipulate the proportions of the UI? Thank you!

    Hi Brandon!  Great question!  Unfortunately for the insight we have not a scalable user interface, but it's certainly something that we will keep in mind for future releases.  Now this is resolution dependent so you need reduce the resolution setting (we've only really tested until about 2 k ~ monitors).  The user interface is pretty basic at the moment, but there are a few changes, you can do it.  Here is a link to the user guide on the user interface customizations for details - but you can change the position of the toolbars by clicking the separation Strip and you can change the width of the canvas/editor fracture by dragging on the edge of the editor Panel.

  • Is it possible to archive the Manager of catalog on a regular basis?

    Hi guys,.
    Would you know how to plan the archiving of the SHARED folder to be automatically done every week at a certain time?
    How to otherwise save you your reports?
    Thanks and greetings
    G.

    Hello Deva/Giuliano

    I sent your email id this script yesterday it self.

    Please give the points.

    Thank you
    Satya

    Published by: Satya Ranki Reddy 9 may 2012 21:32

Maybe you are looking for