set the size of a VerticalFieldManager?

I need a VerticalFieldManager which occupies half of the screen. I thought that I could simply create an instance of VerticalFieldManager and then call his setExtent (int width, int height) to define its size. Unfortunately, setExtent is a protected function and can only be called from the derived class. So, that brings up two questions:

1 do I need create a custom layout manager for a simple question? All I need is a VerticalFieldManager only that it manages on the left of the screen instead of the entire screen.

2. why the setExtent is a protected method? Would it not be easier to make a public method? There must be a reason behind...

Thank you

either:

(1) replace the optimization of resources, the substitute sublayout() and call setExtent()

(2) replace sublayout() in the handler for the optimization of resources and call layoutChild()

Tags: BlackBerry Developers

Similar Questions

  • Set the size of fixed table

    Hello. I am developing a VI to a FPGA target and I'm trying to make sure who is using the VI can specify the size of an array of input when they instantiate (such as by the presence of an entry to the VI who said "maximum table size" or something). So far, it seems that the only way to do something like this is to go into the VI himself and manually set the size of table for each entry in the table for the VI (open the VI, do a right-click on each input array, select 'Set the size Dimension', choose 'fixed', set number of items). I would like to have a point where I can set the size of all tables at once (as in my case, they are all the same size) and let the person using the VI set it to the right size for which application they use it for (to be clear, let's say I have two uses for this VI and in one case (, I have a table of entry of size 100 and other use of size 1000, I would like to be able to put these in some way rather than do it through the dialog box). Thank you.

    It's a little more work, but it could be a case of good use for a memory block on the FPGA.  Make it bigger you wait, you need, and then store the actual number of items somewhere.  This will allow you to vary the amount of data without consuming large amounts of FPGA resources on an oversized table.

  • How to set the size of the frame in the controls of decoration

    Hello

    I paint frames or boxes using the templates in the control of "Décorations" in labview.

    Is there another way to set the size of the frames or boxes rather than drag? also, how can I change the color of the borders?

    Thank you

    Joyce

    Select the item.  Click the resize objects in the toolbar.  Choose the last of them, which shows a resizing in a speech bubble.  Now, a dialog box appears that allows you to set the height and width.

    For something of color, Shift right click to bring up the box tool.  Take the brush.  Click on the thing you want to change for example from the border.  It could now be the wrong color, do a right click so that brings up the color picker.  Now, select the color you want in fact.  If you want something to be transparent, choose the T in the upper right of the color dialog box.

  • Programmatically set the size of a table control (not the number of col and lines)

    Hi all

    I am trying to create a little VI, in which the user selects the number of columns and rows in a table, and after clicking on a button 'OK', the table control is displayed in the control panel (to be filled in by the user). To do this, I use the nodes property to the number of columns and lines. I have no problem with that.

    However, I want to "limit" the size of the control table (control of himself, not the dimensions of the table) and make use of vertical and horizontal table, the scroll bars. I want to avoid it is that passes type 100 user and 100 lines and appears a huge table control.

    I could tho this by using an array instead of an array, via the node property "size", but I would use an insead table a table.

    Thank you very much

    Daniel

    With a table control, you cannot set the display size to be anything other than a multiple of a complete cell.

    If you are limited to a number of lines and columns.  If you want to resize with more control you also need to resize the control within the Bay, accessible via the property 'picture Element '.

    Another option (but seems huge exaggerated) is to place your table in a secondary and set the size of the secondary to the size you need and enable scrollbars for her.  It is not an option that I would choose but if it helps...

    Have it, your description of your user interface sounds not very intuitive.  How the user knows at any time exactly what cell they access if they have to scroll backwards?

  • How to set the size of text with the report generator

    Hello.

    I'm trying to set the size of the text with the report generator, but I find that I can't do this. Here is an example of the code that I use. Can someone tell me what I'm doing wrong please?

    Thank you, Alec

    I was generation from a word template.

    I hacked my version of the Toolbox to give me maunal indicator control "model? He had obtained his permenatly self stuck on "T". I exposed this flag outside the API, so I can control under certain weather conditions I may or may not use the model police.

    Does anyone know how to use this toolkit, or I did the right thing?

    Cheers, Alec

  • I can adjust the size of the text on the new mail / out, but can't set the size on the mail coming on my screen.

    Problem with the size of the text

    I can adjust the size of the text on the new mail / out, but can't set the size on the mail coming on my screen. Evil in my sight.

    Inhabitant of the desert

    Is this a comment or a question? If a question, care to share with us, what e-mail program you speak?

  • My window size is about 1/4 "wider than my monitor screen. How to set the size of the window?

    My window size is about 1/4 "wider than my monitor screen. How to set the size of the window?

    Hello

    ·        You did it changes on your machine before this problem?

    ·        You have a LCD or TFT monitor?

    Usually in LCDs, there will be an option to set the button of the screen on the monitor resolution.

    You can also follow these links for the resolution of the monitor & check if it helps.

    Change the resolution of your monitor

    To change your screen resolution

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Set the size of the window for DOS applications running on the Windows XP Pro machine

    I have some old Basic (QBasic, Flodraw) DOS programs I still want to run occaisionally. 2002 was the last time I used them, so I don't know what OS was running then. When I run the application now that open windows are not ideally sized, the Flodraw is too big, I can't see it as much of the screen as I would, and QBasic is too small to get enough text to keep my train of thought.

    Anyone know how I can get control of the size of the window? I need create .pif or something like that?

    Thank you.

    Right click on the shortcut for the program icon, and then click Properties. You will see where you can set the size. MS - MVP - Elephant Boy computers - don't panic!

  • How to set the size of my screen?

    Original title: maintenance

    How to set the size of the screen

    Norm 21

    How to set the standard for screen size 21

    Resolution:
    Right-click on a free space of the desktop > Personalize > Display Setings > move the slider to the left or right to set the resolution. Check your user manual, see if she tells you what resolution is for your computer. My laptop is using 1280 x 800 pixels.

    Here is a table of the guide line:

    You can also try this method...
    Re - set DPI:
    Right-click on a free space of the desktop > customize > column to the left, adjust the size of police (in PPP) > uac prompt > click default scale (96 DPI).

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • How to set the size of the print topic

    I have a deskjet 3520 all in one and my computer is a computer laptop dv6 with prof. windows7 64 bit.

    I want to print traces of PCB so that I can make my own, but I do not know how to set the size

    with this printer. They take the entire page when I want to be 2.35x3.35.

    Don't know if it is possible with this printer.

    Any help would be apreciated.

    Last night, I figured out how to resize with IrfanView. It allows me to get the size I want in metric or inches

    and it's free.

  • 1815dn how to set the size of the paper for the sweep of glass

    I have received a report from a colleague working in Europe on A4 size paper and want to scan it for editing.  The report is spiral, I went to scan on the glass instead of the separation for feeding through the ADF.  When I do this, instead of automatically detect the size of the paper, it scans only the portion of standard letter size simply and lack substance.  But I can't seem to find anywhere in the analyze menu to set the size of paper either.  Can anyone help?


  • C1765nfw copy Issue: printer always takes into account that I have copies of legal size, even though I set the size of the copy as "letter"...

    C1765nfw always guess I make copies of legal size, even if I set the size of the copy as a 'Letter' in the default copy settings.  Paper default tray is also 'Letter' and 8.5 x 11 paper I get incompatibility of paper for each page, because the C1765 is looking for legal size paper. and then have to erase/reset for each page I copy (including multi-page documents) how to fix this?

    I just fixed that for a client, and it was pretty simple. Somehow its default settings for the MPF tray have been changed to legal. Try going to settings of the tray then MPF and change the default to the letter. This corrected it in my case.

  • How to set the size of the Windows Explorer preview pane so that it will retain the size adjusted?

    All know how to set the size of the Preview windows exployer pane.  I can't remember or 'stick' to the adjusted size.  It always develops a great size, concealing of file information (name, date modified, size, etc...) it's very great pain.

    Help, please!

    Thank you

    * original title - preview pane of Windows Explorer is a pain.*

    Hello

    Try this:

    (a) click the "Hide the preview pane" in the upper right corner (on the left of the help) of Windows Explorer

    (b) to resize the Windows Explorer window for how you want

    (c) click the 'Show preview pane' icon in the upper right corner (on the left of the help) of Windows Explorer

    Navigate to the link below: http://social.technet.microsoft.com/Forums/en/w7itproui/thread/569509ae-a37a-441f-8cc3-95d5231b171b

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think, if this post can help solve your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Pre set the size of the final file

    I'll try to find a method that allows me to pre-define the size of the final file to for example 1.8 MB. The idea is that I can set the size of parameter file (e.g.1.8MB) and lets say a resolution of 72 dpi for example. I run the command and Photoshop reasambles image to pixel dimensions necessary until I find myself with a file exactly 1.8 MB with a resolution of 72 dpi.

    The reason why? I need to convert 3500 images that are exactly 1.8 MB. The pixel dimension are not relevant in this case

    N ° not in PS. It doesn't ever work under very specific conditions, in any case. You would need to settle on a format that uses no compression or a compression method that is predictable and compress the same amount regardless of the content of the image and the program must have a way to enforce a file of cropping and scaling automatically size to reduce the number of pixels. Sort of a safe for the Web on steroids, but using uncompressed TIFF or something else. It may even be necessary to run the algorithm of coding in reverse and in a loop of trial and error and even then, the question is, how exactly the size of the file must match. Apart from some obscure programming demos which produce images specifically companies or generate specific buffers for testing purposes, I have seen nowhere implementation practice.

    Mylenium

  • Black boxes shows images when you set the size of the image?

    Hello

    I have problems with black boxes appear in the image when you set the size. Please look at the screenshots. If his clue, all the problems started after I ran the El Captain update last week. What can I do? Everything works perfectly on my retina new Macbook Pro.

    Skärmklipp 2015-10-16 13.36.43.pngSkärmklipp 2015-10-16 13.36.51.pngSkärmklipp 2015-10-16 13.37.03.pngSkärmklipp 2015-10-16 13.37.12.png

    Hi henrike43022551.

    Greetings.

    • This phenomenon occurs with all the files.
    • Also try this
      • Open PS, preferences - performance and uncheck CPU chart use
    • Restart PS and check again.

    ~ Rohit

Maybe you are looking for