Two or more UI components background colors get mixed up

Hello, I´ve got an issue here
It´s hard to explain in words so I got a print screen of it.
Ok, I will try to explain the structure here and what the problem is...
Each rectangle is a canvas. Inside each of them there is a LABEL where the text is written a rounded BOX and another LABEL inside the box.
<mx:Canvas>    
     <mx:Label text="sometext" />
     <mx:Box cornerRadius = "30">
          <mx:Label text = "a number"/>
     </mx:Box>
</mx:Canvas>
My problem is that the colors inside the rectangle gets all mixed up.
The original color in the circle is supposed to be the one that is highlighted on top right of the figure.
But because I´ve changed the rectangle 'backgroundColor' property both color gets mixed up. You can see that the red circle have a distinct tonality on each rectangle.
I would like to somehow not mix up those colors.
Does any one have a clue of a work around for this problem??
Thanks in advance

I solved it myself. I mean, I troubled myself when I decided to set backgroundAlpha no a value lower than 1.
Got this fixed by setting alpha to 1.

Similar Messages

  • Background color gets offset in Configurator and Photoshop (Mac OS)

    I have a panel with a HTML widget. I set the background color with CSS to #d6d6d6 to match Photoshop. However, my panel does not get the color I picked for it, instead it gets the color #cdcdcd (a slightly darker gray).
    As a workaround I set the color to #dedede which will then become #d6d6d6 and thus matching the gui of Photoshop.
    So far so good.
    On the Mac.
    Today I noticed that on Windows my panel is too bright...
    So it seems to be a Mac OSX thing. Anyone know what's going on here?

    So far I'm using a workaround where I check the OS of the user with javascript. I then change the background color accordingly.
    Cheers

  • Upload LOGO as is. Without the background color getting changed

    Hi All,
    I uploaded a LOGO using SE78. BMAP as a color image.
    I converted the .JPG to .BMP in 24 bit format.
    The background color was white in .JPG and even in .BMP after conversion.
    But, when i uploaded and used in my smartforms, the bacground color was not pure white. It was in light grey color. I want the bacground color as white which will fit correctly in the smartforms without any grey bacground.
    Can you all please suggest me a solution.
    Thanks,
    Jaffer Ali.S

    See OSS Note 205837

  • Powerpivot - Can't insert formula that combines two or more different columns and keep getting message "unhandled exception has occurred in a component in your application...

    I am using powerpivot v2 with excel 2010.
    When I go to my excel file's powerpivot and I try to insert a formula in any column, I constantly get the following message:
    "unhandled exception has occurred in a component in your application. If you click continue, the application will ignore this error and attempt to continue".
    ************** Exception Text **************
    System.InvalidCastException: Return argument has an invalid type.
       at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType)
       at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object returnValue)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Office.Interop.Excel._Application.get_ActiveWorkbook()
       at Microsoft.AnalysisServices.XLHost.Addin.GeminiRibbon.currentClientWindow_InFormulaBarChanged(Object sender, EventArgs e)
       at Microsoft.AnalysisServices.Common.SandboxEditor.formulaBar_Leave(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
    Does anybody know how to fix this ?

    Mark,
    I used the Fix It found here:
    http://support.microsoft.com/kb/2739501
    I would have to ask my IT support person for more specifics, but as I understand the scenario with my particular laptop: the laptop came preloaded with RTM build of 2013.  We used Control Panel to uninstall Office 2013, in order to install Office
    2010.  I installed PowerPivot add-in and used it successfully with no issues for several months.  After attempting to install another program and encountering issues with apparent traces left behind of Office 2013 uninstall, I found the link above
    and used the Fix It to attempt to remove all remaining traces of Office 2013.  While it did appear to find and clean-up quite a bit left behind from the Office 2013 install, I was surprised to find an error upon entering my existing installation
    of PowerPivot for 2010 and attempting to type new formulas into the formula bar.
    My experience to-date is that an error message stating ""Return Argument Has an Invalid Type" appears anytime I select or modify a formula in the formula bar that would cause the intellisense to appear.  For example, when I first click into the formula
    bar, I do not get an error...but as soon as I type the first letter, before the intellisense appears, I get the error message.  Throughout the remainder of the formula as I type, just prior to any time when the intellisense drop-down will appear
    again, I get the same error message again (see details below).
    At one time, although I can't reproduce it now, the error message did state ".Net Framework" in the menu bar of the error pop-up window.  I can't get that to appear again, as it now only says "PowerPivot for Excel".  Based on this, I had attempted
    to see if I could repair my .NET framework install using the following tool:
    http://www.microsoft.com/en-us/download/details.aspx?id=30135
    I learned, however, that since I am running Windows 8 which comes with .NET 4.5 built-in to the OS, this tool does not yet cover that version for repair.
    While the overall end-result of my PowerPivot models appear to be just the same, having to click through "Continue" on the error message multiple times each time I enter a new formula is a huge drain on productivity.
    Let me know if you have any additional questions.
    David
    System.InvalidCastException: Return argument has an invalid type.
       at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType)
       at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object returnValue)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Office.Interop.Excel._Application.get_ActiveWorkbook()
       at Microsoft.AnalysisServices.XLHost.Addin.GeminiRibbon.currentClientWindow_InFormulaBarChanged(Object sender, EventArgs e)
       at Microsoft.AnalysisServices.Common.SandboxEditor.formulaBar_Leave(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
    David Duncan Consultant I.B.I.S., Inc.

  • Paste from clipboard loses background coloring

    I have a short piece of text on the system clipboard, to which I have applied various styling properties (font size, font family, font color, and background color).  I can see these fine when I view the clipboard contents, like this:
    However, when I do a paste, the background color gets lost (ALMOST all the time).  I have tried pasting into many of the text-handling apps I have (Word, Pages, Text Wrangler, TextEdit, etc., etc.).  In Word I have even tried Paste Special, which seems to say that it will use the formatting properties it finds.
    But, alas, none of these apps present the background coloring.  However, when I tried a paste into the Notes.app I did get the background color.  (Yeah!)
    Why are all these other apps losing the background color and (more importantly) is there a way to get paste in these other apps (esp. Pages or Word) to correctly render the background color from the clipboard?

    You're probably doing something wrong, because I can get this to work normally.
    Have you installed the filter in the document correctly? Have you looked [java tutorials for text components|http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html]?
    Anyway, both your code and java tutorials one forgot to check 'str' for null at replace function. As describe in the API:
    API wrote:
    text - Text to insert, null indicates no text to insertTry posting a SSCCE that demonstrates your problem.
    Regards,

  • How to set full screen background color in new Pages

    I just updated to Mavericks and the new Pages...I often use a certain background color when I work in full screen mode, but that color is gone withe the upgrade and I don't see how to specify a color any longer...any ideas?
    Thx.

    Given over 90 removed features in Pages 5, I guess they were busy "not noticing" a lot more than the background color:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
    Peter

  • Background color has changed

    Within the last day or two, I noticed that the background color of many web pages I frequently visit has turned to white. Does anyone know why? Can it be fixed?
    Thanks!

    Never mind. The problem was caused by a "nasty attack" on a web site I view nearly every day. The moderators traced it, found the problem and fixed it.

  • How to get background color in MVC programming

    Hi Experts,
    I am new to BSP.
    I am working in CRM 7.0 version and designing a view using MVC method in BSP.
    I have two doubts::
    1. How can i get background color in a view ?
    2. How can i attach a picture, that is in paint-brush, in background ?
    Thanks in Advance.
    Nitin Karamchandani.
    Edited by: Nitin Karamchandani on Jun 3, 2009 8:10 AM

    Hi,
    several html tags have the attribute bgcolor, like
    <body bgcolor="red">  or <body bgcolor="RRGGBB">  where RR, GG, BB is an hexadecimal value according to RGB color palette.
    you can also work with CSS and in this case you affect the attribute style, which is also available in several tags:
    document.body.style.backgroundColor="#EEEEEE"

  • Changing font and background color for all components

    Hi,
    This is my first time writing a GUI, and I'm pretty new to Swing and Java. I just recently switched from C++, and so far Java seems to be doing a nice job =)
    Currently I have a gazilion components (textfields, labels, panels) and I'm wondering if there is a way to change their background/foreground colours without adding in setBackground/setForeground for every single component.
    I've done some researching onto using Look and Feel, but there aren't any current ones that suits my needs. And everyone seems to mention that programming your own is pretty complicated.
    My boss wants a slick white text on black background interface, so you can imagine that he's not very impressed with the current default greyish colours =)
    Thank you for any help!
    Cindy

    Hi Cindy,
    I'm not sure how effective a solution this will be, but you could try:UIManager.put("TextField.background", Color.BLACK); // Default text field background becomes blackThere are many more defaults you'd have to change and could probably achieve it more reliably and simply by creating or editing the properties file that controls the way the look and feel (even if it's the default) is implemented. Take a look at:
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/UIManager.htmlHope this is helpful
    Chris.

  • How do I get rid of background color in shortdesc

    Every time I remove the background color from the short.description paragraph tag, it comes back when I reopen FrameMaker. I don't want any background colors in my short descriptions.

    Ah .. FM10 and DITA 1.2 .. too bad, you're in for a bit of a chore.
    The 1.2 apps are here .. AdobeFrameMaker10\Structure\xml\DITA_1.2\
    Unfortunately, there are lots of them, and it's not immediately clear how to approach things. Opening an XML file in Frame requires a structured application in order to define the valid document model and to apply the proper formatting. The formatting is applied by an EDD, which defines the mapping from elements and associated styles which live in the template (the EDD itself is embedded in the template as well). The structured applications are defined in the structapps.fm file (of which there are two). One of these can be seen when you choose the Structure Tools > Edit Application Definitions file (this lives in the user's "app data" area), but another is at AdobeFrameMaker10\Structure\structapps.fm (this is the "core" structapps file). The two files define the available structure applications, any definitions in the user's file override those in the other file (I'm pretty sure).
    So .. when you open an XML file, Frame scans the structapps files for matching doctypes, if only one is found, that app is used. If multiple matching doctypes are found, you are presented with a dialog that lets you choose from the available apps. If you didn't select an app when opening the file, you'll need to look in the structapp files to see which one was used for your file. The root element in your file defines the doctype (as well as the Public ID). If this is a "task" topic, you'd look in the structapp files for matching apps that support the "task" doctype (if you're using DITA 1.2 you'll be looking for a DITA 1.2 task .. I'm not totally clear on how FM differentiates between the two). In my installation the DITA 1.2 definitions are in the core structapps file, but it could be in either place (or both).
    Once you locate the structure app definition, it will have nodes that define the Template, the DTD, the ReadWriteRules, and other things. You're just looking for the template though. If you're using a "task", for DITA 1.2 that's likely to  be the DITA_1.2_task structure application .. the template is located at ..
         $STRUCTDIR\xml\DITA_1.2\app\technicalContent\template\task.template.fm
    where "$STRUCTDIR" is the location of the FrameMaker\Structure folder (or possibly defined differently in the maker.ini .. but that's a different issue).
    Editing this one file will affect the formatting of future task topics you open. You'll have to do the same thing in the other corresponding topic type templates to affect all of the topics.
    In previous versions of Frame, it used the "ditabase" model for authoring and publishing. This encapsulates all of the models in one file making it much easier to maintain. This model is more parallel to the DITA model, but will be a real nightmare for people to customize. I'm not going to begin to try and explain how you'd clone these apps to make your own, although you can read a document written for DITA-FMx and DITA 1.1 that gives you the fundamental process ..
         http://docs.leximation.com/dita-fmx/1.1/?ditafmx_cloningtapps.html
    I'm hoping that I've explained this correctly .. I'm still trying to wrap my head around it myself.
    Cheers?
    ...scott

  • How to get the foreground/background color in photoshop.

    I want to get the foreground or background color at runtime ( by any action ) in photoshop.
    What steps should I follow.

    For example here is a script I use within Photoshop Actions to save and restore the users foreground and background colors so the action can mess with Photoshops foreground and background colors during its processing.
    SaveAndRestoreColors.jsx
    /* ======================================================================================
    // 2009  John J. McAssey (JJMack)  http://www.mouseprints.net/
    // This script is supplied as is. It is provided as freeware.
    // The author accepts no liability for any problems arising from its use.
    // This script is designed to be used by a Photoshop Action twice
    // A good pratice to use when creating an actions that use this scipt is for the action
    // not to do a save or play some other action between its two useages of this Script.
    // The first time this script is used by an action Photoshops Current Forground
    // and Background Colors are saved into the document's meta-data Info Instructions field.
    // The second time this script used by the action the script retreives what was
    // saved in the meta-data during the first usage and these colors are set.
    // and the saved data is removed from the document's meta-data Info Instructions field.
    // ===================================================================================== */
    <javascriptresource>
    <about>$$$/JavaScripts/SaveAndRestoreColors/About=JJMack's SaveAndRestoreColors.^r^rCopyright 2009 Mouseprints.^r^rRun twice script utility for action.^rNOTE:Don't play other actions between runs!^r^rFirst Run records Photoshops foreground and background swatch colors.^rSecond Run restores the recorded colors and removes the recording.</about>
    <category>JJMack's Action Run Twice Utility</category>
    </javascriptresource>
    if (app.documents.length > 0) {
    if (app.activeDocument.info.instructions.indexOf("<Colorf>") == -1 ){ // no footprint fisrt useage
    //alert("first");
    // Retreive Document information for Foot Print
    saveforeColor = new SolidColor;
    saveforeColor.rgb.red = app.foregroundColor.rgb.red;
    saveforeColor.rgb.green = app.foregroundColor.rgb.green;
    saveforeColor.rgb.blue = app.foregroundColor.rgb.blue;
    savebackColor = new SolidColor;
    savebackColor.rgb.red = app.backgroundColor.rgb.red;
    savebackColor.rgb.green = app.backgroundColor.rgb.green;
    savebackColor.rgb.blue = app.backgroundColor.rgb.blue;
    // put footprint in metadata info instructions
    app.activeDocument.info.instructions = app.activeDocument.info.instructions + "<Colorf>" + saveforeColor.rgb.red + "," + saveforeColor.rgb.green + "," + saveforeColor.rgb.blue + "</Colorf>" + "<Colorb>" + savebackColor.rgb.red + "," + savebackColor.rgb.green + "," + savebackColor.rgb.blue + "</Colorb>";
    //alert( "Saved ="  + "<Colorf>" + saveforeColor.rgb.red + "," + saveforeColor.rgb.green + "," + saveforeColor.rgb.blue + "</Colorf>" + "<Colorb>" + savebackColor.rgb.red + "," + savebackColor.rgb.green + "," + savebackColor.rgb.blue + "</Colorb>");
    else {
    //alert("second");
    // Retreive saved information
    colorfOffset = app.activeDocument.info.instructions.indexOf("<Colorf>") + "<Colorf>".length;
    colorfLength = app.activeDocument.info.instructions.indexOf("</Colorf") -colorfOffset;
    saveforeColor = app.activeDocument.info.instructions.substr(colorfOffset, colorfLength);
    colorbOffset = app.activeDocument.info.instructions.indexOf("<Colorb>") + "<Colorb>".length;
    colorbLength = app.activeDocument.info.instructions.indexOf("</Colorb") -colorbOffset;
    savebackColor = app.activeDocument.info.instructions.substr(colorbOffset, colorbLength);
    //alert("Colorf = " + saveforeColor + " Colorb = " + savebackColor );
    // Restore Colors
    app.foregroundColor.rgb.red = saveforeColor.substr(0,saveforeColor.indexOf(","));
    saveforeColor = saveforeColor.substr(saveforeColor.indexOf(",") + 1,saveforeColor.length);
    app.foregroundColor.rgb.green = saveforeColor.substr(0,saveforeColor.indexOf(","));
    saveforeColor = saveforeColor.substr(saveforeColor.indexOf(",") + 1,saveforeColor.length);
    app.foregroundColor.rgb.blue = saveforeColor ;
    app.backgroundColor.rgb.red = savebackColor.substr(0,savebackColor.indexOf(","));
    savebackColor = savebackColor.substr((savebackColor.indexOf(",") + 1),savebackColor.length);
    app.backgroundColor.rgb.green = savebackColor.substr(0,savebackColor.indexOf(","));
    savebackColor = savebackColor.substr(savebackColor.indexOf(",") + 1,savebackColor.length);
    app.backgroundColor.rgb.blue = savebackColor ;
    // Remove footprint from metadata info instructions
    before = app.activeDocument.info.instructions.substr(0,app.activeDocument.info.instructions.indexO f("<Colorf>"));
    afterOffset = app.activeDocument.info.instructions.indexOf("</Colorb>") + "</Colorb>".length;
    after = app.activeDocument.info.instructions.substr(afterOffset, app.activeDocument.info.instructions.length - afterOffset);
    //alert ("before = " + before + " after = " + after);
    app.activeDocument.info.instructions = before + after;
    else { alert("You must have at least one open document to run this script!"); }

  • ADF Faces: Background color of components?

    Hi,
    In my application I use panelPage component to get a basic layout. From [1] I know that I can use several facets wo place my components on special places.
    I tried this with the "search" facet as well as the "infoSupplemental". Both have a different background color. When I add selectOneChoice or commandButton components, they have a white background box around them. How can I tell the components to match the background color of "surrounding" component.
    Regards,
    Stephan
    [1] http://download.oracle.com/docs/cd/B25221_04/web.1013/b25386/web_getstarted004.htm#CHDCJCGF

    Well, seems like the CSS parser does not expect inherit as a colorvalue :) Is this a known bug?
    oracle.adfinternal.view.faces.style.PropertyParseException: Invalid color: inherit
         at oracle.adfinternal.view.faces.style.util.CSSUtils.parseColor(CSSUtils.java:196)
         at oracle.adfinternal.view.faces.style.CSSStyle.parseProperty(CSSStyle.java:116)
         at oracle.adfinternal.view.faces.style.BaseStyle.getParsedProperty(BaseStyle.java:163)
         at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.TecateRenderer._parseValue(TecateRenderer.java:535)
    <af:commandButton inlineStyle="background-color:inherit;" text="#{bundle.search_action_save_label}" />

  • How to get a layer's background color with AE SDK

    Hello,
    I am trying to get the color of the background for my current layer but I can't seem to find how to do it.
    By background color, I don't mean the application's background color, but the color that shows through if I set the alpha of my pixels to 0.
    For example, suppose the composition background is black, I put a green solid on top of it, then put an image on top of the solid and apply my pug-in to the image.
    If I set the alpha to zero in my plug-in, the solid's green will show up.
    So I want to be able to find out that my background is green.
    I already tried using PF_AppGetBgColor() but that returns the application's background color, which is not green in this example.
    If you want more details about what I want to do, I have plug-in P1 which sets some pixels to 0-alpha. On top of it I apply another plug-in P2 which reveals 0-alpha pixels by blending them with some color.
    What happens now is that the output is the original image's color blended with P2's color (because P1 only modified the pixels' alpha).
    What I want is to have the color showing through the transparent pixels of P1 blended with P2's color.
    To do that, I would like to be able to set the color of the 0-alpha pixels to the background's color in P1.
    Sorry for the long question.
    Thanks for your suggestions.

    hello nicolas.
    if i understood you correctly, what you're trying to get it the image buffer of the composited layers, beneath the layer with your effect.
    if that is correct, then i'm afraid it's next to impossible to do.
    when AE renders a composition it doesn't do it bottom to top. it tries to do the opposite actually.
    why? because if at a certain point the buffer is fully opaque, then it doesn't need to render what's beneath.
    further more, checked out layers change the order rendering, and many other things affect the rendering order of the layers.
    besides that, there's no API for accessing intermediate comp buffers. just the final result.
    the closest you can get to that without turning the world over, is to use AEGP_GetCompBGColor(),
    which would prove useless to you as the image doesn't get composited over that color, unless that's the comp being saved to file.
    so why did i say "next to impossible"?
    you can turn the world around.
    you can write an AEGP of type "artisan". (look at the "arti" sample)
    these plug-ins render comps (instead of the "advanced3D" renderer)
    an artisan does have intermediate comp results, as it is the one doing the rendering.
    so now you can have your artisan save the buffer you need, and deliver it to your effect.
    i must warn you that doing this is very very very difficult.
    another possible solution is to create a duplicate of the comp in which your effect resides,
    erase all layers who's image you don't need, and render that duplicated comp using AEGP_GetReceiptWorld().
    if you use this method, you have to supervise the original comp, and apply changes to the duplicate.
    yes, that too is difficult to do.
    you could make a change in strategy, and apply your effect on an adjustment layer instead.
    the input for the adjustment layer is the composited buffer of underlying layers.
    then you could get the original sources you wish to process using checked out layer params.
    the last solution i can think of is using the sampleImage() expression on a hidden param.
    this will give you pixel data from any layer in the comp, but not the composite of the underlying layers.
    maybe if you tried sampling an adjustment layers post effects... i don't know. you'll have to try.
    this method is very slow, and is also limited to time out, so you can't get a large number of pixels.
    the expression will simply fail.
    i hope it hasn't been all bad news for you.
    maybe of you told more about the plug-in you're developing i could come up with a better plan.

  • My background color for all pages has changed to pink, how do I get it back to white?

    The background color in all of my screens has switched to pink. How do I get it back to white? I wonder if it changed when I was shopping in a web site and had clicked on a pink watch(?)

    Check the default color settings:
    *Tools > Options > Content : Fonts & Colors > Colors
    * [X] "Allow pages to choose their own colors, instead of my selections above"
    *https://support.mozilla.com/kb/Changing+fonts+and+colors

  • Is there any way to get the black background color back in fullscreen mode?

    The current background color in fullscreen mode is grey and it's distracting.  It used to be black.  Is there a way to change the color outside of the document boundaries?

    AndyboyMac wrote:
    The only way you can get themes for your ipod is by a jailbrake, jailbraking is illegal, and yes,, you can downgrade your iOS.
    Jailbreaking is actually not illegal due to exemptions in the DMCA documentation (http://en.wikipedia.org/wiki/IOS_jailbreaking#cite_note-22).
    I've got no explanation on to why the trusty interface for the old iPod style app was butchered, unfortunately (I think we're all at a loss, besides someone being given too much free reign). I came here to supplement the original question with, another alternative question:
    Is there a way, similar to downgrading 3rd party apps, downgrade the Music app or restore the old iPod app as an additonal app? Without jailbreaking?
    < Edited By Host >

Maybe you are looking for

  • Explain Plan in Pl/SQL developer tool

    How to get the explain plan result of a query in PL/SQL developer tool which has a database link ? Also, please suggest the min and max Cost, Cardinality and byte values Thanks

  • Ar29n - no fi document generated (with aa document generation, amount 0)

    Hello, After customizing the revaluation area (APC: all values allowed, Depreciation all values allowed, reevaluation allowed), the reevaluation measures (one for writing back depreciation and one for opening of depreciation areas) and the transactio

  • Report RCCLROUT does not create any output

    Hi experts, I hope someonw can help me on the following incident: Running report RCCLROUT from se80, I do not get any output. However, the report#s description says: *& Creation of routing IDOCs to a given selection                      * *& This pro

  • Windows Server and Mac Server

    Hi, How do you link windows server 2012 so that it pulls all the user information from a mac server running the server version of mavericks. I want windows users to be able to login on their computer but have the windows server pull the user informat

  • How to install plugin:plugin in maven 2.02

    I am not able to use plugin goal in maven 2.0.2 How to install/configure the same... Thanks, Nava