Setting region height to stretchContent="auto"

Hi,
I have the below code snippet in my jspx page to auto stretch the content in a region. This works if my region does not render any table.
<cust:showDetailFrame
                      id="sdf1"   
                      stretchContent="auto">       
<af:region value="#{bindings.vivirtplatformgener al1.regionModel}" id="r1"/>   
</cust:showDetailFrame>
But if the region contains a table, the table is not rendered correctly. The last column in the table gets shrinked leaving significant blank space on the right side of the layout. Below is the table definition in the region -
<af:panelStretchLayout id="psl1">
     <f:facet name="center">
        <af:table id="t1" width="100%" columnStretching="column:col1" ...../>
    </f:facet>
</af:panelStretchLayout>
Can anyone help me on this?
Thanks,
Shubha

"New to AS3" <[email protected]> wrote in
message
news:gdqfgs$kn5$[email protected]..
> OK I've started using this.. and for a while figured
this was the perfect
> answer.. but...
>
> Most of the canvases are about 30 height.. but some are
a bit bigger.. and
> once they start setting the "includeInLayout" to false,
you start seeing
> some
> of the "larger" height's interior components visible..
>
> why is that? I tried to do sometihng like:
> <mx:DataGrid
includeInLayout="{canvasObj01.includeInLayout}">
>
> but it won't set that to false.
>
> Sure there is some workaround to a glitch.. anyone know
it?
Try setting both the includeInLayout and visible properties
to false.

Similar Messages

  • HT4642 ios numbers:how to make cell height variable with auto line brake setting ?

    ipad numbers; How to make cell height variable with auto line break setting?

    That's strange. I responded earlier and the whole message got trashed. Hence the test post before retyping the entire thing again.
    Thanks for the reply.
    The video clip is a single screen capture video clip. This is what I've found by playing around with this more.
    The original clip resolution is greater than 640x480. If I use QT Pro to convert the original clip to 640x480 and then use either Flip4Mac or PE7, then the resolution looks good.
    Just trying to figure out if should keep all workflow on the MacOS side. There are several different version of Flip4Mac. $49 gives me 640x480, but if I ever want to make it slightly larger then I would need to go with the $99 or HD version.
    I also tried to export to AVI with QT Pro and the import with Windows MovieMaker but it didn't work really good. I liked the simplicity (since PE7 hogs a lot of resources especially through VMWare).

  • Setting Region Attributes

    Trying to set some region attributes to control width and height of my region. Unfortunately the settings do not seem to work.
    I have entered width=700px, width:700px, "width=700px" and "width=700px", all with no luck.
    If I edit the region template directly and replace the #REGION_ATTRIBUTES# tag from the top level div with style=width:700px, all works well.
    What am I doing wrong when setting Region Attributes?
    TIA...
    Edited by: dragnet on Feb 13, 2011 12:17 PM
    Edited by: dragnet on Feb 13, 2011 12:17 PM
    Edited by: dragnet on Feb 13, 2011 12:17 PM
    Edited by: dragnet on Feb 13, 2011 12:17 PM

    Think I got it. Found that the full entry style = "width:700px" seems to do it....

  • Region height as % of screen

    Hello,
    Can I setup my region template so that it has a height of 80% of the screen?
    Many thanks in advance,
    Mark

    Dimitri,
    Thanks very much for your help. That works!
    My attempts had not worked because I was only setting the height in the region template, and not in the page template as well.
    Thanks,
    Mark

  • How can I set the insert date to auto update in Pages 5.2.2

    how can I set the insert date to auto update in Pages 5.2.2
    I am attempting to have the date in header auto update in a Pages file.
    I can insert it, but where is the AUTO UPDATE selection
    OS10.9.4
    thank you

    Apple never included the auto-update feature for dates in Pages v5.2.2. You would have to single-click the date, and deliberately update it.
    If you have Pages ’09 v4.3 in /Applications/iWork '09, then it will allow you to configure auto-update of the date field. Right-click on the date, set the format, and click the selection for automatically update on open.

  • Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Gavin Lawrie wrote:
    Once it had been established that the iWork rewrite had resulted in some features being lost and others broken, and once Apple had acknowledged the concerns* and suggested they are working on fixes**, I'm not sure what else there is to achieve.
    You are writing that in the perspective of having read about it here already. Repeated often enough that you encountered it somewhere in the posts.
    Users are flooding in here and don't know any of this. Of course we have to repeat everything endlessly.
    Because I like to give precise, understandable and workable answers to repeated questions, and Apple doesn't allow sticky posts here, I created a separate forum which users can consult to look up real answers, and contribute for themselves if they have something valuable to add:
    http://www.freeforum101.com/iworktipsntrick/
    There is a section purely devoted to Pages 5. Add whatever answers you feel will lighten the problems of Apple's 'upgrades'.
    Peter
    * Where have they acknowledged anything?
    ** They have barely anything listed, compared to the massive list of deleted features, and nothing but an extraordinarily long time frame considering they created the problems here and now. Apple has not said they will do anything at all about fixing the real issues, the biggest of which is that the new iWork apps break virtually all the work of existing users.

  • How to set the height of a textarea dynamically

    Hi,
    I have been trying to set the ui.textarea's height dynamically and I am not able to do it. This is what I am doing.
    <ui:textArea binding="#{assignment$EditResult.textArea2}" id="textArea2" style="height: 90%" text="#{currentRow.value['comments']}"/>
    The height is being ignored and it is set to the default size. How can I set the height of this component to fit to the size of its cell, which is dynamic?
    Thanks for your help.

    Thank you for your help! It worked for something like this:
    getTextArea2().setStyle("color : red");
    but this does not work still.
    getTextArea2().setStyle("height: 90%");
    I think it still does not know the size of the cell at this point yet. But this is a good tip, thanks anyway!
    ~Kazzie

  • Using JDAPI to set the height of the Forms Canvas to it's default value

    Hi,
    I've been trying for a while to use the JDAPI to set the height of the Oracle Form Canvas to it's default value.
    Can anyone advice how to do this ?
    Can the currCanvas.inheritProperty(arg0) be used in this case ?
    Thanks in advance,
    regards

    Hi David,
    Note that I used a Footer Row in my Table. Headers and Footers have special properties. (A poster in the last couple of weeks asked for a summary of Header and Footer properties - somewhat frustrated that he couldn't find a succinct description in the User Guide. Well, there isn't one and the answer is so complicated that nobody has taken on the project. Now we have a new version of Numbers and the answer would need to change.)
    The way to avoid the error is to use a Footer Row and to use the shortcut cell reference notation: =SUMIF(C,TRUE,B). The columns are specified, but the row range is not. Footers are exempt in this notation, so no error is generated regarding a circular reference.
    Hope this clears it up.
    Jerry

  • How can I set the height of ui:pageSeparator to less than 24px?

    I've tried setting the height style but that appears to be ignored.

    I have tried setting the height property of the page separator, but still the height in the IDE & in the browser is more then 7px. Is there a solution?
    This is the style property value of the page separator.
    border-width: 0px; margin: 0px; padding: 0px; height: 7px

  • Setting fixed height in Crystal Reports sections

    Hi,
    I want to set the height of detail section in crystal report. I want to set the details section such that it must at the most accommodate 10 records in the section.
    If I have only 2 records in the section, it should show 8 empty lines.
    If I have more than 25 records in the section, the remaining 15 records will be placed on the next page.
    After that, the footer will be printed at the end of it.
    Is this possible?
    Thanks.

    Try this:
    1. You can also create a SQL expression field or use a subreport  to read how many records that it returns.
    2. Have 10 detail section; and
    3. In each section, put in all fields; and
    4. Have a running total in each section; and
    5. For each field in the section, you suppress based on the running total; and
    6. Do not suppress blank section; and
    7. Set new page if the running total is more than > 10

  • How to set  row height  for  each row

    Hi
    i am trying to set rowheight of row in a JTable using setRowHeight(row,rowheight)
    it is not affecting on Table.but if i use setRowheight(rowheight) it applying
    entire table ,please help me to solve this problem
    after setRowHeight(row,rowheight), i am calling firechanged() method also ,i t will not affecting please hemp me
    how to set row height at runtime in a JTable

    Ok fine... do one thing... post ur code here let me check and tell u....
    Ciya.....

  • How to set specific height in JLabel but vary in width ...

    Hi,
    I want to set the height of JLabel to fix height but vary the width according to the content of the label...
    How does I do that ??
    JLabel lbl = new JLabel("Hello this is aman");
    lbl.setPreferredSize(100,30);
    If the the text is changed, the width will be truncated at 100 pixels... how do I change
    that to height 30, but width change according to text ?
    thank

    Hi..
    may be this works for you ---
    since u want to adjust the width with the text size.. means that you will be taking an input from the user and then set it on the label.. so before setting the text on the label & width of label .. get the length of the text and set this length as the width parameter to method setPrefferedSize()..
    ex:
    // get the text from textbox
    String userinp = textbox.getext();
    JLabel lbl = new JLabel();
    lbl.setPreferredSize(userinp.length,30);
    lbl.setText(userinp);

  • How to set Panel height to browser height?

    I have a panel in a module in an application (App > Module > Panel). I would like the panel to take up the full height of the browser window. How can I achieve this? Trying to set height="100%" doesn't work, and makes the panel disappear. Setting the layout to absolute also doesn't work when setting top and bottom margins to 20.
    Any ideas welcome.
    Thanks!
    Mike

    There is something odd going on. I did what you suggested, but then the module doesn't display. However, when I remove the percentage-based height tags everything shows up.
    It seems that the Panel object is sensitive to height being percentage-based. As soon as I set its height to "500" instead of "100%" it displays.

  • Setting AFrame height to the height of a graphic inside aframe plus padding

    Hello fellows,
    I am trying to set a permanent bottom padding between an anchored frame and a graphic object (embedded Visio) that is inside the anchored frame.
    However, instead of getting that padding below the graphic, the aframe becomes really small, and only 20% of the graphic is exposed.
    The code goes like this:
    SET vFrame = vCurrentDoc.FirstGraphicInDoc;
    Loop While(vFrame)
    IF vFrame.ObjectName = 'AFrame'
    SET vFrame.AnchorType = AnchorBelow;
    SET vFrame.GraphicIsSelected = 1;
    SET vGraphic = vFrame.FirstGraphicInFrame // Select the 1st graphic in the frame
    SET vFrame.Width = vFrame.TextLoc.InTextObj.Width;
    SET vFrame.Height= vGraphic.Height + 5mm; //Here is the padding of 5mm
    Set vGraphic.LocY = 0mm;
    Set vGraphic.LocX = (vFrame.Width - vGraphic.Width) / 2;
    ENDIF
    Please, advise!
    Thank you!

    This works for me:
    // Set a variable for the active document.
    Set oDoc = ActiveDoc;
    // Set a variable for the selected anchored frame.
    Set oAFrame = oDoc.FirstSelectedGraphicInDoc;
    // Update the anchored frame's position.
    Set oAFrame.AnchorType = AnchorBelow;
    // Set the width of the anchored frame to match the containing text column.
    Set oAFrame.Width = oAFrame.TextLoc.InTextObj.Width;
    // Get the first graphic in the anchored frame.
    Set oGraphic = oAFrame.FirstGraphicInFrame;
    // Make the anchored frame's height 5 mm taller than the graphic.
    Set oAFrame.Height = oGraphic.Height + 5mm;
    // Move the graphic to the top of the anchored frame.
    Set oGraphic.LocY = 0;
    // Center the graphic horizontally in the anchored frame.
    Set oGraphic.LocX = (oAFrame.Width - oGraphic.Width) / 2;
    After you get it tested, then put it in a function:
    Set oDoc = ActiveDoc;
    Set oAFrame = FirstSelectedGraphicInDoc;
    Set iResult = AdjustAFrameAndGraphic{oAFrame};
    Function AdjustAFrameAndGraphic oAFrame
    Local oGraphic(0);
    // Update the anchored frame's position.
    Set oAFrame.AnchorType = AnchorBelow;
    // Set the width of the anchored frame to match the containing text column.
    Set oAFrame.Width = oAFrame.TextLoc.InTextObj.Width;
    // Get the first graphic in the anchored frame.
    Set oGraphic = oAFrame.FirstGraphicInFrame;
    If oGraphic
      // Make the anchored frame's height 5 mm taller than the graphic.
      Set oAFrame.Height = oGraphic.Height + 5mm;
      // Move the graphic to the top of the anchored frame.
      Set oGraphic.LocY = 0;
      // Center the graphic horizontally in the anchored frame.
      Set oGraphic.LocX = (oAFrame.Width - oGraphic.Width) / 2;
    EndIf
    EndFunc // -------------------------------------------------------------------
    -Rick

  • Key Command troubles: Set Region/Event Start to SPL Position not working?

    Hello,
    I'm simply trying to find a key command that will allow me to move regions quickly from one part of a song to another without dragging with them with the mouse in the arrange window. I thought I found the solution with the key command "Set Region/Event Start to SPL Position", however it doesn't seem to be doing anything!
    Here's what I've tried: First I select the region I want to move, then I move my SPL to a location using the "go to Position" key command and typing in a bar. I then try to use the "Set Region/Event Start to SPL Position" key command (which I set to Shift-Control-L) and nothing happens. Shouldn't it be moving my region to the SPL? Note: the region is still selected, but refuses to move. Am I doing something wrong? Is this not what this key command was designed to do?
    In my attempts to get the darn thing to work, I also discovered that lock screen-set (Shift-L) key command also does not seem to work (it is not toggling the black dot after the screen-set number like usual). Does this mean my key commands may be corrupted? (which would be a real drag!!) Oddly enough, these are the two are the only two that do not seem to be working, as all others seem to be working fine (AFAIK).
    I've had this problem in the past with the lock screen-set key command not working, and rebuild all key commands and templates when I upgraded to tiger. I thought everything was working fine!
    Any advice would be greatly appreciated! Thanks in advance for your help!!

    I assigned F5 to two functions. In the key commands
    window, pressing F5 highlighted the first assignment.
    Pressing it again highlighted the second assignment.
    So just keep pressing the key to see whether it's
    assigned to more than one command...
    Well, now when I type "Shift-L" into the finder in the top right of the key commands window, no key commands at all are show. However, which I search for the word "lock," the lock screenset key command comes up as "Shift-L." Oddly, if I search any other key commands (such as F1, "cmd-k," or even other shift ones like "shift-," the associated key commands show up.
    To test, I changed the screen set lock from Shift-L to "opt-ctrl-L" and it now works again. However, it still will not come up in the key commands window through searching by "opt-ctrl-L"
    On what may be a side note, the search feature seems very buggy! Tell me if I'm doing this right: First I open the key commands window, which opens with nothing selected. Now, in order to search by key command I go up to the top right corner where the magnifying glass is, place my curser inside and type in the key command correct? When I do this, it shows me the highlighted key command in the left, and my curser is no longer flashing up in the magnifying glass, correct?
    Now, in order to search again, I have to place my curser in the search field again, right? However, now when I search by key command, not all of them register! For example, my "go to position" key command is simply ; but when I type it, nothing comes up in the search, and instead of the magnifying glass window being blank like before, the actual ; is in the box. Oddly enough, searching with "Cmnd-K" still works!
    What is going on? Am I doing something wrong? How do I fix this, as it is very frustrating!! thanks again for your help

Maybe you are looking for

  • Error deploying JAX-RPC war in JBoss

    I am using the JBoss 3.0.3 with Tomcat 4.1.12. After creating a JAX-RPC application I have tried deploying the completed war to JBoss, but get an error saying that Jboss cannot find the: com.sun.xml.rpc.server.JAXRPCContextListener. java.lang.ClassNo

  • I am unable to upgrade my Apps

    Recently had a sync problem and itunes changed my Apple ID and password as my iphone refused to recognise my password. Now I can purchase from the store no worries, but the 19 App upgrades I being offered by my iphone still present me with my old App

  • Block The Vendor Payment

    Dear All, I need to Block the Vendor Payment .But I need to do MIGO,and MIRO Transaction.Without payment block .I want that while doing miro it automatically block for payment without any manual intervention. Thanks & Regards Meruta

  • Intercompany STO

    Hi Intercompany STO Process: I am creating the Delivery for Intero-STO using Tcode: VL10B. But, when there is no sufficent stock in the shipping plant side, the D.O is not get created. Also there is no any error message shown stating pertinent to del

  • Need help with performance & memory tuning in a data warehousing environment

    Dear All, Good Day. We had successfully migrated from a 4 node half-rack V2 Exadata to a 2 node quarter rack X4-2 Exadata. However, we are facing some issues with performance only for few loads while others have in fact shown good improvement. 1. The