Align sub-region Right

How can I align a sub-region to the right? On an order form, I want to show the line items followed by various other items in the bottom right corner.
Also, is it possible to align the page items to the right instead of the left within a region?
Thanks,
Gregory
Nudged by Gregory on May 24, 2011 3:54 PM

for horizontal + vertical alignment I use this little gem of a layout manager:
[http://www.java2s.com/Code/Java/Swing-JFC/AverticallayoutmanagersimilartojavaawtFlowLayout.htm|http://www.java2s.com/Code/Java/Swing-JFC/AverticallayoutmanagersimilartojavaawtFlowLayout.htm]
Simple and effective. It can even stretch components on demand.

Similar Messages

  • 2 differently aligned sub regions on a region in the same line

    Hi!
    I would like to place 1 region aligned on left, 1 on the right of a parent region. I added style="float:left/right" to sub regions.
    <div>
    #SUB_REGION#
    </div>
    is added to parent region's sub regions template.
    If I leave this way, then They are eligned correctly, but not in the same "line", but under each other. If I add style="float:left/right" to sub regions template, than sub regions will aligned side by side, but I can't force to place in the same line one left, one right.
    What is strange, than if float added in region's sub regions template, (side by side), and change float of on of the sub regions in firebug, that appears good.
    How to do it correctly?

    selection-screen : begin of block B1 with frame title TEXT-001.
    selection-screen : begin of line.
    selection-screen : comment 1(23) TEXT-001.
    parameter        : P_01 radiobutton group R1.
    selection-screen : comment 30(8) TEXT-001.
    parameter        : P_02 radiobutton group R1.
    selection-screen : comment 42(10) TEXT-001.
    parameter        : P_C01 type rlgrap-filename obligatory.
    selection-screen : end of line.
    selection-screen : end of block B1.
    Change the text elements accordingly
    Regards
    - Gopi

  • How to Control Width / Align rightmost edge of sub regions on a page ?

    Hi folks
    Am Apex newbie using Oracle XE and 4.0.1 Apex to develop app on laptop before deploying to production.
    I have a page with region display selector and multiple sub-regions.
    Am using Theme as per the Issue Tracker packaged application.
    Problem is that my subregions on page align on left hand side but the subregions widths are different ... therefore page looks a bit scrappy / unprofessional as regions look a bit like
    XXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXX
    Is there any way to control / make the subregions widths the same so that screen looks better.
    Have spent ages moving individual fields on page to try and force sizes to match but with no luck .. so any help would be gratefully received as always.
    Thanks

    Hi-
    I was trying to align sub-regions side-by-side, I followed what Patrick suggested to put the following in the region's sub-region template.
    <div> #SUB_REGION# </div>then to be enable to put the subs side-by-side I had to put the following in the regions attributes.
    width: 300px; float: left
    that would align the subs side-by-side, I tried to change the template so I can use the attributes
    <div#REGION_ATTRIBUTES#> #SUB_REGION# </div>but when I ran the page I can see the following in the Firebug.
    <div #region_attributes#="">so no effect, am I missing something or what.
    Regards,
    Omar

  • Align page item to region right edge.

    Hi gurus
    I have a region that has just one page item and I want to align it to right edge of its region.
    How can I do that?
    Thanks in advance
    Oscar

    Maheswara,
    Thanks for your answer.
    Really my region is a reports region of item-above-region-content type.
    And the only page item has to be right-aligned to match rigthmost columns.
    Can this info helps you?
    Oscar

  • Standard jQuery tabs and an interactive report as a "tab" sub-region

    Hi all,
    I have a standard, simple implementation of jQuery tabs following the exact instructions by Patrick via this thread:
    Re: New themes in APEX 4 not working with JQuery tabs
    As one of the "tabs" (sub-regions), I want an interactive report. I use "no template".
    Problem is that when the IR is in a tab, the pop-up column menus and such are no longer aligned, e.g. I click one of the column headers of the IR and the pop-up menu shows up much lower on the screen than it should -- sometimes off the screen if I have another region above. Can anyone assist? Maybe it's a DIV tag conflict between the jQuery template and the built-in IR?
    Here is my example app:
    http://apex.oracle.com/pls/apex/f?p=19782:1
    Also another issue I've never seen quite resolved -- on "tab2" in the above app, you see what happens when you actually use a template in the sub-region. It breaks off the encompassing parent tab.
    Sorry, if I was more savvy in the display options, I could probably solve all this -- so I'm hoping somebody else is or has already solved it and can share. Thanks so much!
    David

    If anyone is interested, I finally found the answer to this issue. It's all here:
    http://www.apex-blog.com/oracle-apex/using-jquery-to-fix-broken-apex-interactive-report-drop-down-menus-150.html
    Very special thanks to Stephen Blair (who owns the blog above) for the simple solution! Thanks Stephen!
    David

  • Sub-Region in a query

    Hi All,
    I have to write a query wherein I have to use Divisions in the rows.
    Now in my system I have these Divisions defined. But furthermore the requirement says that the data should be displayed at sub-region level.
    these sub regions of a region are based on the customer codes.
    For example, if customer code is HBV2XYZ then sub region is North and if it is HBV8XYZ then the sub region is South etc.
    Now, in my Sales cube I have data at divsion level and Custmore sode is also there in my cube.
    How do i write this query which should give me data at the above defined subregion level which is nothnig but customer code?
    Thanks and regards,
    Sharmishtha

    Sharmistha,
    Did not see that in your mail earlier -
    Considering that the Customer sub regions are coded into the Customer codes... and this being for customer data - it sould be better is you had a transfer routine as Edwin Harpino suggested and store the same as a nav attribute on Customer master - that way if the customer master changes - you need not worry if the customer shiufts across regions etc - that is of course depending on your requirement...
    You could use a virtual Characteristic otherwise. And is this in Excel or the Web - if it is in WAD - you could use the table modifier to achieve the same....
    Arun
    Assign points if useful

  • Items align in region

    Hi all,
    I have 2 regions in my application one is html form region and another is tabular form .
    I created 6 items in html region and created DA for the items to hide according to the value of items and then created tabular form
    find below the sample link
    http://apex.oracle.com/pls/apex/f?p=70633:1:10266218311688:::::
    user name: [email protected]
    psswd: symphony
    once i select the first item(declaration letter) it will show the second item (applicacable) perfectly,but when i select applicable as yes and discrepancy then all the items become misplaced,
    how do i align the region items?
    Thanks,
    Anees

    Hi hari,
    I want to get that tabular form parallel to the first region.
    actually i am using apex 4.1 version, in that i created the tabular form as column region (display point is same and column=2)
    but still getting the problem of misplacing the items.
    if there is any way to align items in column regions??
    regards,
    Anees

  • JLabel with an icon aligned to the right side.

    Hi all,
    I need a JLabel with an Icon aligned to the right but with the text aligned to the left side.
    Is it possible?
    How can I accomplish this?
    Please help me, I've spent almost 2 hours on this.
    Thanks on advance.

    Just so you know, though, you use JLabel.setHorizontalTextPosition to determine where the text is relative to the image:
    JLabel label = new JLabel("Text", new ImageIcon(...), JLabel.CENTER); // For example
    label.setHorizontalTextPostion(JLabel.LEFT);Hope this helps.

  • Sub Regions and Conditionals

    Greetings. Having an issue with conditionals and sub regions. Using apex 4.2
    I have a region (Deployments) that has several items and a few buttons (Button A, Button B, etc). I need to conditionally show Button A. I have a sub region(People) that is a report of people deployed. I need a button to show in the Deployments region, that if there are no people in the report (i.e. People_ID is null) then the button won't show. I tried using a conditional, but am having no luck. Please help. Thanks in advance.

    NewApexCoder wrote:
    Greetings. Having an issue with conditionals and sub regions. Using apex 4.2
    I have a region (Deployments) that has several items and a few buttons (Button A, Button B, etc). I need to conditionally show Button A. I have a sub region(People) that is a report of people deployed. I need a button to show in the Deployments region, that if there are no people in the report (i.e. People_ID is null) then the button won't show. I tried using a conditional, but am having no luck. Please help. Thanks in advance.Our crystal balls are being repaired. What did you try?
    When asking a question you need to provide sufficient information:
    <li>How to ask questions
    <li>{message:id=9360002}

  • Master Region for sub regions

    I have four sub region which belong to a master region. I would like give a title to master region and have a border outline for this master region which includes all four sub regions. is this possbile, any ideas are appreciated.
    thanks for your help,
    Surya

    thanks Arie, that's helpful. it works when I have all the regions displayed in "Column 1". is it possible to to apply similar technique, when I have three regions, top two regions displayed in column 1 and column 2 and third region at the bottom displayed in column1?
    thanks for your help.
    Regards,
    Surya

  • Text won't align to the right in IE

    Hi! I'm having pesky IE
    problems again:
    http://zooop.net/flatrate/
    The Contact Us/Login text in the top right corner won't align
    to the right, as the code requests it to do.
    Also, the newsletter sign-up box at the top of the page,
    won't line up with the photos on the left (it sticks out a little
    bit for some reason). It does what it's supposed to do in Firefox.
    This is driving me nuts! Here's the html:
    <table width="800" border="0" cellpadding="0"
    cellspacing="0" bgcolor="#FFFFFF">
    <tr>
    <td style="padding-left: 15px; padding-top: 15px;
    padding-bottom: 15px;"><img src="logo.gif" width="264"
    height="32" />
    </td>
    <td width="349" align="right" valign="middle"
    id="contact_us">
    <a href="contact_us.html"
    class="linkContactLogin">Contact Us</a> | <a
    href="login.html" class="linkContactLogin">Customer Log In
    </a><img src="space.GIF" width="5" height="1" /><br
    />
    <img src="space.GIF" width="300" height="10" />
    <span class="phone_numbers" style="letter-spacing:.568em;
    line-height: 1.3em;"><div>703-453-9181</div>
    <div>301-384-9450</div>
    </span></td>
    </tr>
    <tr>
    <td colspan="2" bgcolor="#FFFFFF" style="padding-left:
    15px; padding-top: 30px; padding-bottom: 0px; font-weight: bold;
    font-size: 12.4px; color: #99776e; font-variant: small-caps;">
    <table width="785" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td width="445" valign="bottom">
    <div id="buttons">
    <img src="../flatrate/space.GIF" width="5" height="7"
    border="0" />
    <a href="index.html" class="linkButtons">
    Home</a><img src="../flatrate/space.GIF" width="14"
    height="8" border="0" />
    <a href="about_us.html" class="linkButtons">
    About Us</a> <img src="../flatrate/space.GIF"
    width="14" height="8" border="0" />
    <a href="free_offers.html" class="linkButtons">
    Free Offers</a><img src="../flatrate/space.GIF"
    width="14" height="8" border="0" />
    <a href="service_territory.html" class="linkButtons">
    Service Territory</a><img
    src="../flatrate/space.GIF" width="14" height="8" border="0" />
    <a href="testimonials.html" class="linkButtons">
    Testimonials</a><img src="../flatrate/space.GIF"
    width="14" height="8" border="0" />
    <a href="faq.html" class="linkButtons">
    FAQ</a></div>
    <img src="space.GIF" width="350" height="12"/> <img
    src="repairing_computer.jpg" width="108" height="144"
    style="border: 1px #000000 solid;" /><img
    src="frustrated.jpg" width="108" height="144" style="border: 1px
    #000000 solid;" /><img src="network_guy.jpg" width="108"
    height="144" style="border: 1px #000000 solid;" /><img
    src="happy_male_operator.jpg" width="108" height="144"
    style="border: 1px #000000 solid;" />
    </td>
    <td width="345" height="166" align="center" valign="top"
    style="border-left: 1px solid #000000; border-top: 1px solid
    #000000; border-right: 1px solid #000000; border-bottom: 1px solid
    #000000; padding-top: 4px;">
    <iframe src="
    http://flatratecomputersolutions.com/simplezine/includethis.php"
    id="the_iframe" frameborder="0" width="300" height="166"
    scrolling=no style="border:0px; font: Arial, Helvetica, sans-serif;
    color:#666666"></iframe>
    </td>
    </tr>
    </table>
    Here's the CSS:
    #buttons {
    height: 18px;
    width: 440px;
    background-color: #3369AA;
    padding-top: 2px;
    padding-bottom: 2px;
    .phone_numbers {
    color: #3369AA;
    font-size: 16px;
    font-weight: bold;
    .contact_us {
    line-height: 2.3em;
    padding-right: 2px;
    padding-top: 10px;
    padding-bottom: 15px;
    line-height:25px;
    Thanks very much!
    Emilie

    zzzeeep wrote:
    > Hi! I'm having pesky IE
    problems again:
    >
    >
    http://zooop.net/flatrate/
    >
    > The Contact Us/Login text in the top right corner won't
    align to the right, as
    > the code requests it to do.
    I'm thinking its because of the splitting and merging of your
    table
    cells. You know you should not build a page using one giant
    table which
    you then proceed to split into 'irregular' areas, which the
    browser has
    trouble deciphering.
    You can test this out by inserting a 1 row x 2 col table
    above your main
    table. Use the same code/css on each of the cells and you'll
    find the
    text goes over to the right.......that probably tells you the
    construction of your main table is 'wonky'

  • Aligning component to right in StyledDocument.

    Hi,
    Does anyone know how to align the components in a DefeultStyledDocument to the right.
    I have a JTextPane, with a document in it. I add some JLabels to the document, works fine, but I want the components on the right of the panel. If you need a look at what I am trying to do take a look at http://liquidjava.telenet.be/intro200104.html, and click on the first bubble at the bottom .
    On the right center there are labels, this is done with normal labels, adding them to a panel, and they all align to the right.
    Now I have the labels in a document but they then by default align to the left, as text would.
    Anyone know a quick hack to this please?
    Thanks
    Michael

    Thought I would answer myself as I got the answer from a master.
    This right justifies JLabels in a DefaultStyledDocument.
    DefaultStyledDocument doc= (DefaultStyledDocument) getStyledDocument();          try {               doc.remove(0, doc.getLength());          } catch (Exception e) {}          //Set alignment to be centered for all paragraphs                    MutableAttributeSet labelStyle= new SimpleAttributeSet();          StyleConstants.setAlignment(labelStyle, StyleConstants.ALIGN_RIGHT);          doc.setParagraphAttributes(0, labels[0].getWidth(), labelStyle, true);          for (int i= 0; i < labels.length; i++) {               //Style for icon/component                              StyleConstants.setComponent(labelStyle, labels);               //Insert content               try {                    doc.insertString(doc.getLength(), "label", labelStyle);                    doc.insertString(doc.getLength(), "\n", labelStyle);               } catch (BadLocationException e) {                    e.printStackTrace();               }          }
    See ya
    Michael

  • Align portlet in a region right

    Hello
    You can align items to the right or left in a portal region. How do I do this with portlets? For eg: How do I align the 'set language' portlet to the right in one of my regions?
    Regards,
    Chrigel

    hi chrigel,
    this does not make sense for portlets because the portlet content is rendered by the portlet code. so you would have to have this functionality within the portlet code or config options. if you add 2 portlets to a region they will always have the same size depending of the HTML frame settings. items are different since their layout is controlled by the portal framework itself. so the portal framework has control over where the items are rendered.
    regards,
    christian

  • Intractive report with region alignment (Left to right/Right to left)

    i have two lanugage support apex application.i chnaged the page>region>Page Template Body (3)>Region Header in each launguge page.
    <b>the problem is the Searching BAR is not switching ....and Breadcrumbs also </b>
    <div class="uRegionContent clearfix" dir="RTL"></br>
    WKS:ram_r&d
    User/password: aramani/apex
    http://apex.oracle.com/pls/otn/f?p=19248:1how can switch the muliti language application when the user login page?
    Thanx,
    Ram.
    Edited by: Ramani_vadakadu on Apr 8, 2013 9:06 PM

    any update plz..

  • Time Alignment of Regions...  any macros???

    I've been searching for a work-around on this for a while.... any help will be much appreciated.
    My studio's got a 16 track 1" deck and in the past when we were running Protools LE we were able to track through the deck. By hitting the REC head with signal.... then pulling that signal from the REPRO head and right into the computer.
    When we'd track drums to a click or overdub bass through the deck we'd have to push the tape tracks up something like 1567 samples or so... in PT you can set the nudge amount to whatever you want so getting the regions to lock up was a pretty easy thing to do.
    The crux of the matter is that visually lining the regions up doesn't work for things unless they've got super strong transients.... And since it's easy to measure the actual time difference... The tape deck becomes MUCH more usable in the DAW world as an effect IF you can account for that time shift.
    So far.. I've been unable to figure out how to do this in Logic.... There's got to be some way around this??? I know it's not the nudge.
    Name your price for the solution, at this point... i'm willing to pay.
    Thanks a bundle.
    dig it
    zack

    Um... maybe the 'Latency Fixer' plugin from Expert Sleepers' would let you report a (false) latency of x number of samples on each tape track, and Logic would adjust accordingly to compensate?
    Just a theory, since I'm not sure if Logic would move the tracks ahead in time, or just delay playback on everything else to sync up...
    My other suggestion would be to try building a new Logic template with a strong transient at the beginning of a specific track, so that lining up visually later would be much simpler. For example, my template always has a "2 pop" spike. It's kinda clunky I suppose, but it should at least make visual line up easier. Group the tracks so they all move when you move any one of'em.
    Option 3? Hmm. I'm still thinkin bout that.

Maybe you are looking for

  • ASAP!!  Flash Player Works on Computer But Not Live.  (Could Be Easy)

    I need to present this site in a couple of hours and ran into this problem. I just added a Flash button that works perfectly on every single page except my gallery.php.  All the other pages are .html.  On my computer I can see the button perfectly, b

  • Firewire Target DIsk Mode Mac partition not Boot Camp partition

    Hi I'm having issues starting up my Mac and would like to Firewire mount the drive then image it. However, when I do so the Boot Camp partition mounts instead of the Mac partition. I've tried using Disk Utility on the host machine to mount the Mac pa

  • Software (firmware) upgrade for N80??

    Hi, i've noticed you can now update your firmware over the air, found it on the Nokia website: http://www.nokia.co.uk/nokia/0,1522,,00.html?orig=/softwareupdate However, i have an N80 and was wondering why the N80 is not in the list of selected hands

  • Problem with iweb creating a redirect on my domain

    I have a registered domain name with godaddy. (www.lifeofarockstar.net) I create the pages in iweb and then use fetch to send them to my domain. Somewhere in the transfer, my actual site is doing a redirect to http://www.lifeofarockstar.net/Life%20of

  • Apostrophe Issue within an application

    I have a large application (25 pages+) that includes customer details. When the last name of the customer contains an apostrophe ('), the application is corrupted. Lists don't wortk, buttons don't work etc etc. All sorts of unexplainable activities o