Horizontal panelGroupLayout centered in vertical panelGroupLayout?

I am trying to do something I think should be pretty simple, but I must be missing something. Today is my first day with ADF layout components, so I the likelihood of me missing something is very high.
I am trying to create th following simple layout:
------------------------------------------------------------+
| |
| Contact Us |
| Search: |
| [ imagine this is a text box] GO |
| |
|-----------------------------------------------------------+
The container is the "end" facet of a panelStretchLayout facet.
Inside here, I've tried to keep this real simple:
                <f:facet name="end">
                    <af:panelGroupLayout layout="vertical"
                                         xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                         id="pglContactSearch" halign="left"
                                         inlineStyle="text-align:left;">
                      <af:spacer width="10px" height="20px" id="spCU"/>
                      <af:goLink text="Contact Us" id="glContactUs"
                                 styleClass="greyBlock"
                                 destination="http://www.msn.com"/>
                      <af:outputLabel value="Search:" id="olSearch"
                                      styleClass="greenBlock" for="itSearch"/>
                      <af:panelGroupLayout id="pgSearchText" layout="horizontal"
                                           halign="left" valign="top"
                                           inlineStyle="text-align:left;">
                        <af:inputText id="itSearch" columns="10"/>
                        <af:commandImageLink id="cilGo"
                                             icon="/graphics/go_bn.gif"/>
                      </af:panelGroupLayout>
                    </af:panelGroupLayout>
                  </f:facet>Since vertical centering is hopeless these days, I have a spacer there instead just to give me the room I need at the top. What I'm ending up with is:
------------------------------------------------------------+
| |
| Current Time: 17:07 |
| Search: |
| [ imagine this is a text box] GO |
| |
|-----------------------------------------------------------+
This is an attempt to show that the intputText control and GO image controls in the embedded horizontal panelGroupLayout are centered rather than left aligned with the other controls.
What am I missing? How do I get the horizontal panelGroupLayout to align left within the vertical panelGroupLayout?
I've tried all sorts of group layout nesting alternatives with no luck.
Cheers!

Interesting... It looks like everything is centered in the facet how, but atleast the labels and horizontal panel layout group are all left justified. I'm better off, now I suppose. I changed the vertical panel group layout to a panelFormLayout, since it does basically the same thing in this context. Not perfect, but at least it's predicable behavior now.
Thanks for the suggestion.

Similar Messages

  • Why are some of my pages centering themselves (vertically and horizontally) after I select the "Shrink document to avoid overwriting..." option under Add Headers and Footers?

    I'm working in Adobe Acrobat X Pro. I added header and footers through Adobe. I needed to select the "Shrink document to avoid overwriting the document's text and graphics" feature under the "Appearance Options..." option within the "Add Header and Footer" window. Some of the pages in my document that only had a few lines of text on them centered themselves (vertically and horizontally). How can I prevent that from happening?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Thumbnail horizontal only ?  no vertical ?

    Hey
    My thumbnail rotate the image to horizontal,
    I have some vertical image but it rotate it to H
    any image after mutilple upload, the original image stay vertical or horizontal, only the thumbnail rotate all to Horizontal
    if anyone knows why ? helps will be apreciate
    Nikko

    I guess I do not follow
    You said
    it appears the back up is only thumbnails.
    And I ask what is the size of the photos on the backup that you stated you have
    As potential solutions
    again I said
    Software like File Salvagehttp://subrosasoft.com/software/filesalvage can find and restore files if they have not been overwritten - the free download will tell you what can be recovered - you have to purchase to actually recover the photos
    That is a potential solution  --  if the photos have been overwritten then there is no solution - the onluy way to tell is to down load the softrware and run it on the MBP to see what can be recovered - as I said
    LN

  • One page scrolling site, why do anchors move horizontally as well as vertically?

    I've created a one page scrolling site, my problem comes up when I added anchors. Seems that whenever the button brings me to the anchor it moves my page horizontally as well as vertically. I haven't had this happen before.
    The page is http://www.bhppromos.com/Lookandlive.html
    Thanks for any help.

    Hi Dan,
    In Muse, when you click on a link to an anchor, Muse tries to align the anchor point to the top left of the browser, that is why you see a vertical shift. To fix this, I will recommend that you align your anchors to the browser's left margin.
    - Abhishek Maurya

  • Centering text vertically & horizontally on a page

    Anyone know how to do this? I know how to center text within a text frame but what about a whole page. In this instance I would like to center it on a business card!
    Thanks!

    Windows>Align
    Then Select
    To: Page
    And then hit the center button on the vertical and horizontal

  • Centering text vertically in text box

    When you open a text box how do you center the text in the middle from top to bottom(vertically), not left to right. The text starts immediately in the top left corner. I need it in the center of a predefined text box size, so that if you drew a line across the center of the box from left to right, the top half of the letters  would be above the line and the bottom half would be below the center line. In other words there should be the same distance above the words to the top edge of the text box, as to the bottom of the text box, from the center.

    Thanks for the reply. Let me start by saying I am definitely a newbie with Photoshop. So if you could explain what I should do in PS that would help. I'm using CS6 Extended. I really don't know the difference between Paragraph text and Point text, and not sure what you mean when you ask is this for an Action.
    I selected the "T" Horizontal type tool, and drew a box. Then I started typing. It looks like my selections are left align, center align, and right align. But it does not Center it in the middle of the box. The text is still at the top of the box. I have to have the box a certain size because of the project I'm working on. I'm assuming the text I'm selecting is what you are calling Paragraph Text. How do you use Point Text.
    It's basically the spine on a book cover. You place the Title and the Authors name there, but you have to make sure it fits within the spine width, and is centered in that area. Like if you were looking at the side of a book, the title/author should be centered along that spine from top to bottom.
    Thanks!

  • What is the white horizontal line and red vertical line on my brand new ipad mini?

    Bought a brand new ipad mini 2 for my sons Christmas, took it out the box and it was during the set up process, ie entering his iTunes and icloud account, a white horizontal line and a red vertical line appeared on the screen and is there all the time now.  Have tried switching off and on and resetting, but it is still there.  Any ideas??

    Hi Tolmivooz,
    So the lines didn't appear until you were into the setup?
    Does the orientation of the lines change when you rotate the screen?
    Thanks for trying the restart and reset. Please see if a restore helps.
    Get help with the screen on your iPhone, iPad, or iPod touch - Apple Support
    If you see lines, missing sections, discoloration, or poor image quality
    Try to restart your device. If you can't restart, reset your device.
    If restarting or resetting doesn’t fix the issue, restore your device.
    If you still see the issue after you restore, contact Apple Support.
    Best,
    Nubz

  • My Mac Book Pro has faint horizontal yellow lines moving vertically. on the monitor.

    My early 2011 MBP 15" has developed a phenomenon of faint, horizontal yellow lines, in clusters, flickering and seeming to move vertically.  It is intermittent and cycles on and off with about 10-15 sec. on and 10-15 sec. off.  It is faint enough that it is very hard to see except on a white screen, or a large white area.  I first noticed it about a month or 6 weeks ago and it seems to be getting a little bit more noticeable. It is still faint enought, however, that I really don't notice it when I'm working.  But it's not hard to observe if I stop and look at a white area for a little bit.   I am not noticing any other abnormal behavior.
    I have been very busy and kind of ignoring this problem.  But a couple of days ago, I realized that I have only 15 days left on my 3 year Apple Care on this machine.  At the present level, it SEEMS harmless enough, but I realize it could be a failing video card or video power supply, I suppose (it kind of has a flicker rate suggestive of 120 Hz AC).
    I'm probably going to make a Genius Bar appt. in the next couple of days, but I just thought I would see what comments or suggestions this collectively very wise community might have.  I am vaguely aware of comments about "hardware diagnostics" built into the Mac, but, if true, I don't know the details. Comments solicited!

    So I went to the Genius Bar with the history as outlined above.  We had to watch my display for almost 10 minutes (while he checked various system stuff) before it would perform.  But then it cut loose with a very convincing display of the faint, fuzzy groups of yellow lines moving slowly up the screen. 
    Tech pointed out that we were booted to an OS running on the store's server, NOT mine, so this ruled out software problems in one stroke.  He said he'd never seen anything quite like it but felt it was EITHER: video "card" section of the main logic board (all on one in a MBP) OR a failing display.  He said one or both would be replaced. 
    Two days later, picked up my MBP: problem solved!  Tech said they connected my laptop to an external display (which I had not tried because I didn't have one available.....though maybe a tv could have subsituted, now that I think of it!) and NO PROBLEM driving the external lcd display.  So they replaced my 15" lcd display and problem is gone.  "Bill" was about $600, parts and labor, but Apple Care picked it up (with 6 days left to run on the coverage!).
    So that's the follow-on for this problem, fyi.

  • Horizontal menu bar appears vertical after upload

    Hi,
    I am new using Dreamweaver CS4 and have encontered a problem. I have made a nice looking (I think so) horizontal menu bar on my web project and it works/looks fine in the "LIve View" of DW. However on the web page after upload it looks like this:
    http://www.competenciagroup.com/ColombiaTravel/index.html#
    It has changed from horizontal to vertical and all formats are gone. Anybody have a clue?
    Thanks in advance,
    Ivan

    The Spry stylesheet cannot be found.
    The Spry CSS should be:
    http://www.competenciagroup.com/SpryAssets/SpryMenuBarHorizontal.css
    In your local working folder on your computer, is the Spry folder inside the working folder, or is it outside of that folder.  The Spry Assets folder should be inside the folder where all your other html/image files are.  The link in your html pages, shows that the Spry folder goes one level deeper than that.
    The paths to both the spry css and the spry js file are wrong, you need to fix that and then upload the files again.
    Hopefully you are working within a Defined Dreamweaver site - this is a very important first step before working on your site.
    Define a site:
    http://kb2.adobe.com/cps/140/tn_14028.html
    Via the File Panels window, move the spry folder into your working folder  *do not do it via windows explorer* it has to be done through Dreamweaver so that DW can correctly the file links.  If everything goes correctly, you should be asked whether you want to update any links, so yes.. and hopefully the links will be corrected.
    Usually the link should look like this if the Spry folder is inside your working folder structure:
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    Your link however shows as:
    <link href="../../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    This means that the browser is trying to find the files one level down from where you website files are stored on the server.. and it's not there.

  • Spry horizontal menu showing as vertical ul in WordPress theme- help?

    I am trying to modify a fairly simple WordPress theme to match the look of other (static) pages on my site. I inserted a horizontal Spry menu in the file header.php. In the split code window in DW this has the proper appearance, but in MAMP (or on the remote server) it appears as as a vertical list of underlined links. I am guessing that the menu's appearance is being over-ridden somewhere, but where? Here is header.php; thanks for any help.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link type="text/css" media="print" rel="stylesheet" href="<?php bloginfo('template_url'); ?>/print.css" />
    <?php
    // ClearType for embedded fonts on IE (http://allcreatives.net/jquery-plugin-ie-font-face-cleartype-fix/)
    wp_enqueue_script('jquery', get_option( 'siteurl' ) . '/wp-includes/js/jquery/jquery.js', false, '1.3.2');
    wp_enqueue_script('iefontfix', get_bloginfo('template_url') . '/js/IEffembedfix.jQuery.js', false, '0.1');
    ?>
    <!--[if gte IE 5.5]>
    <style type="text/css">
        body { behavior: url( <?php bloginfo('template_url'); ?>/js/csshover3.php) }
    </style>
    <![endif]-->
    <!--[if lt IE 7]>
    <script src="<?php bloginfo('template_url'); ?>/js/iepngfix_tilebg.js" type="text/javascript"></script>
    <style type="text/css">
        img, div, a, input { behavior: url(<?php bloginfo('template_url'); ?>/js/iepngfix.php) }
    </style>
    <![endif]-->
    <!--[if IE 6]><link type="text/css" media="screen" rel="stylesheet" href="<?php bloginfo('template_url'); ?>/ie6.css" /><![endif]-->
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_head(); ?>
    <script src="../../../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../../../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body <?php body_class(); ?>>
    <div id="wrapper">
    <div id="header">
    <ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a href="#">Item number 1</a>  </li>
      <li><a href="#">Item #2</a></li>
      <li><a href="#">Item #3</a>  </li>
      <li><a href="#">Item #4</a></li>
    </ul>
    </div>
    <!-- end header -->
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../../../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../../../SpryAssets/SpryMenuBarRightHover.gif"});
    </script>

    Thanks for the prompt help. The site root for Test Blog is at Sites/wordpress and the header.php for the theme is at Sites/wordpress/wp-content/themes/Basic. The scripts call Sites/wordpress/SpryAssets so ../../../ should be correct. When I load Basic/header.php in DW, the menu displays properly in Split view.
    As you know, wordpress loads the top-level index.php and that uses the index.php found in the activated theme to format the page. When I load this top-level index.php into DW, it displays the Spry menu correctly (horizontal, hover color change), but when I use option-F12 to load into Safari at localhost/wordpress, it shows the vertical list of links.
    The page is at timothybuchanan.org/wp. What I am wondering now is why the same page would display correctly inside DW and not in the browser. What should I check?

  • Horizontal scrolling faster than Vertical scrolling

    I have a jscrollpane, containing a jtable as its component view. When i drag the vertical scroll bar, the painting is slower than when i drag the horizontal scrollbar. I've tried using a profiler to understand, but i didn't.
    Can anybody help me ?

    Horizontal scrolling:
    .java.awt.EventQueue.dispatchEvent(AWTEvent) 100%
    ...java.awt.Component.dispatchEvent(AWTEvent) 100%
    ...java.awt.event.InvocationEvent.dispatch() 0%
    Vertical scrolling:
    .java.awt.EventQueue.dispatchEvent(AWTEvent) 100
    ...java.awt.event.InvocationEvent.dispatch() 77%
    ...java.awt.Component.dispatchEvent(AWTEvent) 22%
    the invocatonEvent.dispatch() method call (through several methods) javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(JComponent, Image, Graphics, int, int, int, int).
    In horizontal scroll (fast), this method calls sun.java2d.SunGraphics2D.drawImage(Image, int, int, ImageObserver)
    In vertical scroll (slow), this method calls javax.swing.JComponent.paintToOffscreen(Graphics, int, int, int, int, int, int)
    So i would say that the horizontal scroll calls repaint AFTER some offscreen image buffer is calculated while, the vertical scroll fails to do that.

  • Bug: Safari - controls disappear after returning from horizontal tilt back to vertical when multiple tabs are op

    Apple Team,
       I would like to report a bug in Safari on iPhone 6 plus/6 on iOS 8.1.2. Here is what happens,
    Launch multiple tabs/instances of Safari (at least 2) and stay in vertical mode.
    Now, switch to display multiple windows using the overlapping square icon.
    Flip the phone in horizontal position and then return to upright/vertical position.
    The icons at the bottom will show momentarily and will then disappear, leaving no option to launch a new new or return from multi-window mode unless you select one of the safari instance.
    Tthanks and hope this gets addressed.

    This is a user support board and your post will not be seen by Apple. Use the official Feedback process to report bugs.
    http://www.apple.com/feedback/

  • Album page template horizontal, my photos are vertical

    Hi Y'all
    I am using the Layered Paper template (iweb '09) for an artist's website and on the photo album page I add an album from iphoto with 3 vertical pictures and the "thumbnail" on the My Album page crops the vertical pix into a horizontal pix, cutting the top and bottom off the pix. On the actual album page all the pictures are working fine, no crop. All the pictures in this album are vertical. How can I deal with this?
    Thanks for the help.

    It's the nature of albums and the same for all themes. Nothing you can do that I know of. Send a feature request to the iWeb developers via http://www.apple.com/feedback/iweb.html.
    OT

  • Changing horizontal drop zone to vertical

    I'm using Motion 5.1 to work with still photos. I have a FCP X template that uses horizontal drop zones that I want to format for vertical pictures. How can I do this without having to create a new drop zone? Is there a way to change the parameters of the horizontal drop zone without having any blank space or cutting off images?

    kricketts10 wrote:
    ... . I have a FCP X template that uses horizontal drop zones that I want to format for vertical pictures. How can I do this without having to create a new drop zone? Is there a way to change the parameters of the horizontal drop zone ..
    You can rotate (and resize) any drop-zone in Motion like a 'clip' .... select the drop-zone, and in the Info-tab you can change parameters...
    ... in case, you can open the template in M5, and it's no commercial one with some 'hidden' parameters.

  • Centering Object Vertically on Page when exporting to ePUB

    I am preparing my first ePUB book using InDesign 5.5. I would like to center the graphic object on the title page, but I cannot figure out how to center an object vertically on a page.  Although I can achieve the intended result on my screen in InDesign, when I export to ePUB, the object goes to the very top of the page and is no longer centered vertically.  I have a few other pages (the dedication page, the copyright page, etc.), where I have text that I would like to have centered vertically on the page -- same problem.  Please help.  Thanks.

    Irregardless of what you are doing in your InDesign document, an ePub export has to follow the very strict rules of HTML -- and not even the full set as we know it from (semi)formatted web pages, but a subset thereof. There is absolutely no guarantee you can export all you can do in InDesign to an ePub, in fact, there is only very little that survives this radical downsaving.
    Besides, I'd have to check but I don't think Adobe intended InDesign to be the once-and-future ePub Layout Engine. Rather, its export is to facilitate cross-publishing, and helping you on your way creating the eBook of your (e)Dreams -- but you have to do the finalizing with some better targeted software.
    But, basically, your premise -- that you can put something "at the bottom of an e-page" -- is wrong to begin with! A proper eBook can be reflowed, the font and its size can be changed, the reading window can be resized (on some devices) or rotated from landscape to portrait and back (on some devices). So there is no concept of a "page", and everything you pull off to "be" at the bottom might appear at the top for other views.

Maybe you are looking for

  • How to delete a specific request from ODS

    Hi all, We have an ODS which we're loading invoices from legacy system. In legacy system, there are two tables for invoices. First one is daily records which is archived on last day of each month. As you guess, second table is  for archive records. W

  • I am editing a video using CS6.  I'm wanting to add a time lapse section of about 10 seconds or so.

    When I bring the photos in, they are cropped.  For example, the photos are of a building and sky.  CS6 brings the photos in and has zoomed way in and cropped the building out to show only sky and clouds, so this is not as simple as using the zoom in/

  • How to output contents as they're processed

    This is probably a very simple question, but I'm just wondering how to output the items on a page as they're processed, instead of having to wait for the processing for the entire page to be done before displaying anything. Does this make sense? Than

  • Problem with the Zone Info Indianapolis file with jdk 1.4.2_11

    I'm doing some timezone testing and noticed that Indianapolis Zone Info file is calculating the time incorrectly when I pass the ID "America/Indiana/Indianapolis" into SimpleDateFormat for a date after 3/11/07. I believe it is calculating it as Atlan

  • Create a new oracle instance

    Solaris 9 Oracle 9i Will the dbca create a new instance or database? I need to create a new instance then import data to it. Thank you.