Different styles for ArrowButtons with synth

How can I define different component styles? For example I have ArrowButtons in ScrollBars, TabbedPanes, DropDowns etc. And now I want to define different the ArrowButtons within ScrollBars, the ArrowButtons within a DropDown etc. How can I manage that with synth. At the moment I have the following synth code which is uses for the ArrowButtons in a TabbedPane:
<style id="arrowButtonStyle">
     <property key="ArrowButton.size" type="Integer" value="24"/>
     <state>
     <imagePainter method="arrowButtonBackground" path="/de/imbus/swing/plaf/images/tab_std.png"
          sourceInsets="0 0 0 0"/>
     <imagePainter direction="WEST" center="true" method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_scrlbtn_arrow_left.png"
          />
     <imagePainter direction="EAST" center="true" method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_scrlbtn_arrow_right.png"
          />
     <!-- <imagePainter method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_selected.png"
          sourceInsets="0 0 0 0"/> -->
     </state>
     <state value="ENABLED">
     <imagePainter method="arrowButtonBackground" path="/de/imbus/swing/plaf/images/tab_std.png"
          sourceInsets="0 0 0 0"/>
     <imagePainter direction="WEST" center="true" method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_scrlbtn_arrow_left.png"
          />
     <imagePainter direction="EAST" center="true" method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_scrlbtn_arrow_right.png"
          />
     <!-- <imagePainter method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_selected.png"
          sourceInsets="0 0 0 0"/> -->
     </state>
</style>
<bind style="arrowButtonStyle" type="region" key="arrowbutton"/>
Message was edited by:
maike

Know of any reason the style
selected-fill-colors: red, black;
doesn't have any effect on the tabs in a tabnavigator or
tabbar.
Have tried setting the style by using a custom class and by
just applying a style to all Tabs. The fill-colors works but the
selected-fill-colors does nothing.
http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html
has an example that works and shows the css being used. Is there
another switch I need to flip to have the selected-fill-colors to
work?
<mx:Style>
.viewTabs {
fill-colors: red, black; /* this works */
selected-fill-colors: #3300cc, #ffffff; /* this doesn't */
</mx:Style>
<mx:TabNavigator x="63" y="167" width="200" height="200"
tabStyleName="viewTabs">
<mx:Canvas label="Tab 1" width="338" height="100%">
</mx:Canvas>
<mx:Canvas label="Tab 2" width="100%" height="100%">
</mx:Canvas>
<mx:Canvas label="Tab 3" width="100%" height="100%">
</mx:Canvas>
</mx:TabNavigator>

Similar Messages

  • Select different style for each border of a rectangle

    Hi,
    I just wanted to have a Rectangle (or some other component) which one must have different style for each of its borders.
    For example I want the top and the right border with a thickness of 2 and others with a thickness of 0 (so we can only see those two borders).
    How can I do it ?
    I tried with stroke (but stroke is for all borders, we can't specify which style for which border).
    Thanks,
    Jeff

    Well it is not clear what he is looking for just rect or a component with specific border. I havnt used flex 4 so i am not sure how to get it working for that
    , but i am sure it will work on the same lines.
    I have also given another option to create a it using lineTo() and moveTo().But this should only be used if this rect is not going to be used as a container.
    I think i should elaborate...
    Create a custom component using UIComponent. In updateDisplayList() after super.updateDisplayList() call a method say drawRect(). In this drawRect() use lineTo() and moveTo() to draw the rectangle. you would have to use the component's height and width to draw the rect.
    Let me know if you need more clearification...

  • Can I have 2 different styles for Footnote numbers and footnote text?

    Hello,
    I have a document with plenty of footnotes.
    I would like to assign all the footnote numbers to a character style, and all the text to a different character style.
    For example, I would like to have the footnote numbers in bold and in black, while the footnote text in light and in dark gray.
    Doing this manually isn't an option obviously.
    Is that possible?
    If not are there any scripts out there that can manage it?
    Thank you
    Federico

    It is simpe to make.
    Crete a Chyaracter Style for the footnote number.
    Set up the Paragraph Style for the Footnote text.
    Go to the Nested Styles section
    Select the Character Style
    Apply it to the first specified separator symbol (like tabulator) you have choosen when you have set up your footnotes.
    Use it. It will apply automatically. Of course, you have to choose this Footnote Paragraph Style in the Footnote Set Up Settings in the Type menu.

  • How to define the style for JTextArea using synth style xml file.

    Hi all,
    How can we align the text inside the JTextArea using synth style xml file.
    We defined a style for the TextArea. But the text is displayed immediately after the border. So we want to provide some space between the border and the text.We specified the insets as given below. But it is not reflecting during runtime.
    <insets top="3" left="3" bottom="3" right="3"/>
    Please help me if any one knows

    Hi Anju,
    This may help you.
    http://www.xenta.nl/blog/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
    Preferrence Variable can be updated either thorugh EM console or ConfigPlan
    Regards,
    Richa

  • How to set different style for headings in quicklaunch

    Hi,
    would like to assign a special style for Headings in the Quicklaunch. Is it possible to assign a different style to headings using CSS?
    Thanks
    Sven

    Hi Sven,
    Please refer to the following article, it might help.
    Customize Change quick launch style and design SharePoint
    .s4-ql UL.root > LI > .menu-item {
    PADDING-BOTTOM: 1px; MIN-HEIGHT: 30px; BACKGROUND: url(http://md-jayabharathi:28586/SiteAssets/BCKHover.jpg) no-repeat 0px -10px; FONT-SIZE: 1em; PADDING-TOP: 1px
    Please don't forget to mark it as answered, if your problem resolved or helpful.

  • Different Style for a single component

    Hi Everyone,
    <<Searched in the forum but could not find my specific need.>>
    Environment : Studio Edition Version 11.1.2.3.0
    I have a multiple panelTabbed components in my applicatioin. I have a Custom SKIN for styling.
    But for one specific PanelTabbed,  the customer wanted to display the tabs as links. There are two questions here
    1. Is there a way I can display tabs as command links
    2. Using Css can i achieve showing tab as a link.
    Best Regards,
    bnkr524

    bnkr, you don't applay a different skin, but you applay a different style class from your active skin which changes the look & feel of the component.
    Sample: This is the active skin for an af:inputText cmponent
    af|inputText { padding-top: 2px; }
    af|inputText::label
      width:11.0em;
        display:block;
        float:left;
        color:#333333;
        background-color: #ffffff;
        margin-top:0.3em;
      text-align:left;
    Now you can define a new style class .mySpecialInputText as
    .mySpecialInputText af|inputText::label
         width:1.0em;
         text-align:right;
            background-color: #0f0f0f;
            padding-right: 3px;
    If you now specify the 'mySpecialInputText' as styleclass on an inputText component it uses the new style.
    Timo

  • How To Show Different Artwork For CD With Same Name?

    In 2002, Chris Botti released a holiday CD named December. In 2006 he also released another CD named December with the only difference being track 2 (Ave Maria) & track 7 (I Really Don't Want Much For Christmas which are not included on the 2002 release. These are not additional tracks but replace 2 songs from the original 2002 release. The album art is different for both CDs. So, how can I show these two CDs with the same name and same artist but with different artwork in Cover Flow mode? Help!
    iMac G5 1.8 Ghz iMac 1.8 GHz G5 17" Mac OS X (10.4.8) 1.5 GB RAM   Mac OS X (10.4.8)  

    If you store Album artwork the way i described using Command I (get info) - then the artwork is actually EMBEDDED in each song and is carried with that song wherever it goes.. and in this case it doesnt matter if u had 3 copies of the same album - all identical. You could even save a diff image for each tarck if u wanted.
    If there is no artwork embedded, then coverflow places the image in a separate folder that is only referenced by iTunes for the whole CD.
    You also might want to turn off coverlfow and continue doing what u had been doing in the past - add you won.
    I also think i know what may be happening. You say they are identical except for track 2 - But problem is - I don't think iTunes can handle 2 identical CD's from the same artist.
    Here's an experiment:
    Goto any of the songs.... right-click and select "Show in Finder" the Finder will open and show you the song file and its location. Do you see one album once or 1 album twice?
    If you see 2 of everything, i would recommend the following:
    Rename the first album "December (2002)" and the second "December (2006)" then iTunes will definately separate them out.

  • Different Number for MIgo with respect to PO Receiving plant

    Hi expert,
    we are diffrent no ranges in po for diffrent receiving site in case of sto.
    we want that when we are doing migo in receiving site, its material document posted with diffrent number ranges.
    how we can do the same.
    Regards,
    Santosh

    I tried for this in past, but It is not possible in standard SAP ( Not so simple to have types like "WE"). So convince your client for not having differrnt number ranges. Expences may occure while achieveing this would be much greater than desired business need.
    Secondly different number ranges for MIGO document is not at all required . Ask your client Why it is required. In SAP any information is available at the click of button then what your client going to achieve by indetifying different numbers at the time of GR. You can differtiate this with user profile. Simple way to convince your client not to have different number ranges for GR material document.

  • IQ09 - Different process for material with bacth Split and no Batch

    Hello,
    i want to know if IQ09 treats material with batch number and no batch in the same way for fetching the serial number.
    view V_EQUI_EQBS_SML is used to fetch the serial numbers.
    i just need to confirm if the process is same in case a material has batch & no Batch together.
    Thanks
    Renu

    Hi,
    We faced the same problem and went back to option:
    Cont.Ins Lot creation (QMAT-CHG) = "For each Material Document item
    This solves the problem and was in our case the solution for receipts from production. But at goods receipt for purchase orders we still use the option for each material document, batch and SL.
    There we pick up the materials in WM by hand by scanning the bar codes on the pallets (printed at GR). The transfer order creates a negative quant in unrestricted use that is later filled by the automatic usage decision that moves the stock from quality to unrestricted in the same bin.
    Hope this helps.....
    Arno

  • Using a different handset for Comes with music?

    I ve just received my upgrade a 5800 comes with music edition,my wife has a n95 8gb normal edition and i was wondering whether i could let her have the code for the free music as she d make more use of it than me?
    Could i register the N95 to use the free music instead of the 5800?

    Hi,
    you can also try to recover your content from the Music Vault My Account > Music Vault. If the 'Change registered device' option is greyed out, this means that you have changed either your PC or mobile within the specified 90 days. If the application has been installed but the application updates have not been accepted, download the latest version to be sure that it is compatible with Comes With Music.
    hope this answers your question..

  • How do I use a different style for a page for each user?

    I want to allow users to choose their own page style. Is that possible? How do I do that?
    Thanks,
    Martine.

    In 309 any page style could be set as users default style.
    This style would be then used to draw pages that are marked to use users default style.
    I want to allow users to choose their own page style. Is that possible? How do I do that?
    Thanks,
    Martine.

  • Can Captivate 6 be configured to print different text styles for Handouts.

    When printing a project as a WORD document, using the "Handouts" type, is there a way to tell Captivate 6 to used different styles for slide names, slide notes, and text captions?  Right now they all populate the WORD document as one style - Normal.

    Hi There,
    Welcome To Adobe Forums.
    We would like to tell you that you can increase and decrease the size of the slides using the "Use table in the output" option.
    If the above is checked then the slide will show little shrink in size. However if the option is unchecked the the slide show a large size.
    However the styles cannot be applied through handouts to the slides.
    Thanks
    Loveesh

  • Can I use iMessage for free with someone in a different country?

    Can I use iMessage for free with someone in a different country?

    Suzanne515 wrote:
    dj,
    That is good to know. Have you  ever turned off wi-fi and used your cellular data instead? I'd like to know if your carrier charges you for the iMessage? I will be travelling with a +44 number on my sim card (Teletial based in the Channel Islands I believe) and some places like South Korea & Japan charge about  $30USD/MB. ( or 19 GBP/MB). The devil is in the detail. 
    My carrier, 3, does not charge extra for cellular data.   I pay £34 per month for a cellular plan with unlimited data.  So, no, I do not get charged for sending iMessages whether I am on cellular data or wifi.  If I were to try to send an iMessage to an international number that did not belong to an Apple device, it would send as SMS and I am sure that standard international rates would apply.  Apple iMessage is a different protocol for users with an AppleID.  There is no way for the carrier to distinguish it from any other data traffic.

  • How to define different styles to different levels of hierarchical titles?

    With difficulty, I found how to define a style for hierarchical titles, i.e.:
    1. First level
    1.1. Second level
    1.1.1. Third level
    etc.
    But all levels will have the same character parameters (font, size, etc).
    What I would like is, e.g.:
    1. First level
    1.1. Second level
    1.1.1. Third level
    In MS Word, it is easy: you define a different style for each level. In Pages, I found no way to do this, and no clue in the user's manual.
    Is it possible (I guess it should be), and if so, how?
    Thanks
    Éric

    You need to use the Styles Drawer. Go to: View > Show Styles Drawer. To define a Style, highlight the formatted text then click the plus sign at the bottom of the styles drawer. To delete a style, secondary click on the style and choose Delete Style.

  • Tool Tips - Different Styles?

    Hi,
    Had a browse through the Flex 2 docs but couldn't find
    anything around this...
    I'm able to style a tool tip through an external stylesheet
    using
    ToolTip
    // style code here
    Is it possible to define different styles for different tool
    tips? Say you have 2 text fields on a form - could you have the
    tool tip for the 1st text field say with orange text and the
    tooltip for the 2nd text field have blue text?
    Thanks in advance!

    You can always roll your own. Just use a canvas, detect the
    mouse events and use a timer if you need a delay before it shows.
    Mouse events are nice cause you can have a follow tooltip that
    moves with the mouse.

Maybe you are looking for

  • Too Much Code? Novice Question

    Greetigns, First off, know I searched for an answer but being that I am new to the AS game (as well as programming in general) I coudl not find an answer that suited my needs. I am using Flash CS3 w/ AS3 Basically I have a row of images that serve as

  • Purchased music appears in iTunes on Mac but not on iPhone

    Hi all, Have recently signed up to iTunes Match but I have a silly question. All of my songs now appear in the Music App on my iPhone except for all my purchased music which appears only in iTunes on my Mac. Am I doing something wrong? cheers Jools B

  • S_ALR_87012357 - User Fields

    Hi, I have a query wrt the transaction S_ALR_87012357 In Output Lists tab, if we select configure layout, we can select additional fields as per requirement. However, there are certain additional fields like User field 1, 2, 3.. etc.. which I guess,

  • Using a rotary angular encoder to measure period of pendulum

    Hi, I'm new to Labview (I hope I've posted this in the correct section) and am trying to measure the period of a physical pendulum. I'm using an Omron rotary angular encoder (E6D-CWZ 2 C) and the SCB-68 NI card. Basically I'm trying to interface my p

  • When Exporting from LR4 to CS5, Image is Changed

    When I export my images from LR4 to CS5 using the Edit In... choice, I first get the ...may require the...Camera Raw plug-in version 7.0... which we all know doesn't exist. Not that that isn't annoying enough (I know - I can turn off the warning) but