<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/155279</link>
    <title>MATLAB Central Newsreader - How to make background of uicontrols transparent?</title>
    <description>Feed for thread: How to make background of uicontrols transparent?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 28 Aug 2007 22:32:47 -0400</pubDate>
      <title>How to make background of uicontrols transparent?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/155279#389784</link>
      <author>G.A.M. </author>
      <description>I'd like the text of static text controls to be black and&lt;br&gt;
the background to be transparent so it looks the same as the&lt;br&gt;
figure background. Is this possible? Thanks</description>
    </item>
    <item>
      <pubDate>Wed, 29 Aug 2007 13:06:19 -0400</pubDate>
      <title>Re: How to make background of uicontrols transparent?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/155279#389855</link>
      <author>Gautam Vallabha</author>
      <description>In article &amp;lt;fb27qf$lit$1@fred.mathworks.com&amp;gt;, x0zero@gmail.com says...&lt;br&gt;
&amp;gt; I'd like the text of static text controls to be black and&lt;br&gt;
&amp;gt; the background to be transparent so it looks the same as the&lt;br&gt;
&amp;gt; figure background. Is this possible? Thanks&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
h=uicontrol('style','text','string','hello');&lt;br&gt;
parentColor = get(get(h, 'parent'), 'color');&lt;br&gt;
set(h,'foregroundcolor', [0 0 0], ...&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'backgroundcolor', parentColor);&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Gautam Vallabha&lt;br&gt;
The MathWorks&lt;br&gt;
Gautam.Vallabha@mathworks.com</description>
    </item>
  </channel>
</rss>

