7 Replies Latest reply: Sep 29, 2008 2:35 AM by 660452 RSS

    navigationPanel right align

    660452
      Hi, I can't find where or how can I right align the tags or buttons located on a toolbar or in this case into a navigationPanel hint=tab

      Here's what I want to get:

      http://img528.imageshack.us/my.php?image=gslaycontentareasqd3.gif

      Thank you everybody.
        • 1. Re: navigationPanel right align
          Frank Nimphius-Oracle
          Hi,

          you are on 10.1.3, are you ? Skinning can do the job

          Frank
          • 2. Re: navigationPanel right align
            660452
            Hi,
            sorry but I can't find where do I align the buttons or tags to the right.
            I look arround the property inspector of the toolbar and the buttons, and the only place where I can set the alignment is at Text - Horizontal Align: right and it doesn't do it.
            If I'm wrong, can you be more specific, please?

            Thanks for your help!
            • 3. Re: navigationPanel right align
              hofespet
              Hi,

              Frank suggests to use skinning. Therefor you have to create a custom skin and extend the standard oracle skin.

              A very good example of available skinnings is the following adffacesdemo.
              Just download and run it in Jdeveloper (11g).
              http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

              Other sources (but not all skinable components and details may be documented there):
              http://www.oracle.com/technology/products/adf/adffaces/11/doc/skin-selectors.html
              http://myfaces.apache.org/trinidad/skin-selectors.html

              BTW: this is a 11g forum and your application look like 10g. Therefor the examples in my URL are from 11g

              regards
              Peter
              • 4. Re: navigationPanel right align
                487442
                Nah, what he want is like 10g, but he's not using 10g, else the component would have been af:menuTabs and not navigationPane. I guess I'm the weird one for noticing that however. :P


                Anyway, as other mentioned, you can achieve it using skinning.


                Regards,

                ~ Simon
                • 5. Re: navigationPanel right align
                  660452
                  Sorry sirs. My version is 11g.
                  I think that saying just "skinning" doesn't help cause it's what I've been trying to do for hours... Maybe I'm skinning it incorrectly. If anyone has the correct sintax or way of doing it I would be thankful.
                  I don't care if it's a navigationPanel, a panelTabbed or a menuBar, but I want to know how can I align the buttons, or tags to the right.

                  If I tell you that I want to put all the tabs of a navigationPane to the right, how can I do it please?
                  I've already seen the ADF Faces demo and it doesn't say it there.

                  regards

                  Edited by: Cosacu on Sep 26, 2008 4:06 PM
                  • 6. Re: navigationPanel right align
                    Frank Nimphius-Oracle
                    Hi,


                    play with one of

                    af|navigationPane-tabs::body{padding-left:200px;}

                    af|navigationPane-tabs::content{padding-left:200px;}

                    Frank
                    • 7. Re: navigationPanel right align
                      660452
                      Thanks Frank, that's the best solution at the moment!

                      Thank you.