<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Button customization</title> <atom:link href="http://undocumentedmatlab.com/blog/button-customization/feed/" rel="self" type="application/rss+xml" /><link>http://undocumentedmatlab.com/blog/button-customization/</link> <description>Charting Matlab's unsupported hidden underbelly</description> <lastBuildDate>Fri, 18 May 2012 13:56:51 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.1</generator> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-83928</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Mon, 30 Apr 2012 16:25:48 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-83928</guid> <description>@Karthik - of course you do: every Matlab figure has the &lt;b&gt;ResizeFcn&lt;/b&gt; property. It doesn&#039;t matter how you resize the figure, this callback will get invoked.</description> <content:encoded><![CDATA[<p>@Karthik &#8211; of course you do: every Matlab figure has the <b>ResizeFcn</b> property. It doesn&#8217;t matter how you resize the figure, this callback will get invoked.</p> ]]></content:encoded> </item> <item><title>By: Karthik S</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-83926</link> <dc:creator>Karthik S</dc:creator> <pubDate>Mon, 30 Apr 2012 16:21:34 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-83926</guid> <description>I&#039;m using the auto Resize option on the main GUI, so I dont think I have explicit control of the GUI&#039;s resizefcn</description> <content:encoded><![CDATA[<p>I&#8217;m using the auto Resize option on the main GUI, so I dont think I have explicit control of the GUI&#8217;s resizefcn</p> ]]></content:encoded> </item> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-83915</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Mon, 30 Apr 2012 14:54:16 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-83915</guid> <description>@Karthik - simply use your figure&#039;s &lt;b&gt;ResizeFcn&lt;/b&gt; property in order to catch GUI resize events</description> <content:encoded><![CDATA[<p>@Karthik &#8211; simply use your figure&#8217;s <b>ResizeFcn</b> property in order to catch GUI resize events</p> ]]></content:encoded> </item> <item><title>By: Karthik S</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-83913</link> <dc:creator>Karthik S</dc:creator> <pubDate>Mon, 30 Apr 2012 14:50:32 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-83913</guid> <description>Thank Yair. The button is on a GUI. I wanted the image on the button to resize when I resize the GUI. The button resizes automatically with the GUI, but, when I place a listener like you suggested, the callback isnt being executed.</description> <content:encoded><![CDATA[<p>Thank Yair. The button is on a GUI. I wanted the image on the button to resize when I resize the GUI. The button resizes automatically with the GUI, but, when I place a listener like you suggested, the callback isnt being executed.</p> ]]></content:encoded> </item> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-83677</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Sat, 28 Apr 2012 17:09:01 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-83677</guid> <description>@Karthik, you can place a &lt;a href=&quot;http://undocumentedmatlab.com/blog/continuous-slider-callback/#Property_Listener&quot; rel=&quot;nofollow&quot;&gt;listener&lt;/a&gt; on the button&#039;s &lt;b&gt;Position&lt;/b&gt; property and in its callback you could resize the button&#039;s contents.</description> <content:encoded><![CDATA[<p>@Karthik, you can place a <a
href="http://undocumentedmatlab.com/blog/continuous-slider-callback/#Property_Listener" rel="nofollow">listener</a> on the button&#8217;s <b>Position</b> property and in its callback you could resize the button&#8217;s contents.</p> ]]></content:encoded> </item> <item><title>By: Karthik S</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-83528</link> <dc:creator>Karthik S</dc:creator> <pubDate>Fri, 27 Apr 2012 19:30:23 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-83528</guid> <description>These are excellent tips on customization! How do I automatically resize an icon in the button?</description> <content:encoded><![CDATA[<p>These are excellent tips on customization! How do I automatically resize an icon in the button?</p> ]]></content:encoded> </item> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-49197</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Wed, 22 Jun 2011 21:57:12 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-49197</guid> <description>@Peter - I assume you meant the uicontrol text control, not the axis-based label generated by &lt;i&gt;&lt;b&gt;text&lt;/b&gt;&lt;/i&gt; (for this you can use tex-formatting).For text uicontrol customizations, read &lt;a target=&quot;_blank&quot; href=&quot;http://undocumentedmatlab.com/blog/customizing-matlab-labels/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</description> <content:encoded><![CDATA[<p>@Peter &#8211; I assume you meant the uicontrol text control, not the axis-based label generated by <i><b>text</b></i> (for this you can use tex-formatting).</p><p>For text uicontrol customizations, read <a
target="_blank" href="http://undocumentedmatlab.com/blog/customizing-matlab-labels/" rel="nofollow">here</a>.</p> ]]></content:encoded> </item> <item><title>By: Peter Steinberg</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-49195</link> <dc:creator>Peter Steinberg</dc:creator> <pubDate>Wed, 22 Jun 2011 21:43:35 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-49195</guid> <description>This is all very useful.  Thanks!  One question: do you know how to underline text in a static text element?</description> <content:encoded><![CDATA[<p>This is all very useful.  Thanks!  One question: do you know how to underline text in a static text element?</p> ]]></content:encoded> </item> <item><title>By: neurostu</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-579</link> <dc:creator>neurostu</dc:creator> <pubDate>Tue, 12 May 2009 20:05:57 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-579</guid> <description>I&#039;m having some problems with setting an ImageIcon on the buttons, here is my code:
http://pastebin.com/f1e4b6086I create a jButton object for each of the three uicontrol buttons I create but whenever I set the icon on one of the three buttons it always sets it to the first of the three.I&#039;m running matlab 2008b</description> <content:encoded><![CDATA[<p>I&#8217;m having some problems with setting an ImageIcon on the buttons, here is my code:<br
/> <a
href="http://pastebin.com/f1e4b6086" rel="nofollow">http://pastebin.com/f1e4b6086</a></p><p>I create a jButton object for each of the three uicontrol buttons I create but whenever I set the icon on one of the three buttons it always sets it to the first of the three.</p><p>I&#8217;m running matlab 2008b</p> ]]></content:encoded> </item> <item><title>By: Undocumented MATLAB Tips by Yair Altman &#124; blinkdagger</title><link>http://undocumentedmatlab.com/blog/button-customization/#comment-273</link> <dc:creator>Undocumented MATLAB Tips by Yair Altman &#124; blinkdagger</dc:creator> <pubDate>Wed, 29 Apr 2009 01:26:47 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=184#comment-273</guid> <description>[...] covered. I find the contrast quite refreshing. For instance, in Yair&#8217;s most recent post on Button Customization, he discusses the intricacies of what one can accomplish with a simple push button. So if [...]</description> <content:encoded><![CDATA[<p>[...] covered. I find the contrast quite refreshing. For instance, in Yair&#8217;s most recent post on Button Customization, he discusses the intricacies of what one can accomplish with a simple push button. So if [...]</p> ]]></content:encoded> </item> </channel> </rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              b7666
Template:           single
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: undocumentedmatlab.com @ 2012-05-18 21:17:12 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: enhanced
Cache key:          blog/button-customization/feed/_index.xml_gzip
Caching:            enabled
Status:             not cached
Creation Time:      0.523s
Header info:
X-Pingback:         http://undocumentedmatlab.com/blog/xmlrpc.php
Set-Cookie:         wpgb_visit_last_php-default=1337401032; expires=Sun, 19-May-2013 04:17:12 GMT; path=/
Link:               <http://undocumentedmatlab.com/?p=184>; rel=shortlink
Content-Type:       text/xml; charset=UTF-8
Last-Modified:      Sat, 19 May 2012 04:17:12 GMT
Vary:               Accept-Encoding, Cookie
Expires:            Sat, 19 May 2012 05:17:12 GMT
Pragma:             public
Cache-Control:      public, must-revalidate, proxy-revalidate
Etag:               483847d659e81b58cdbeee03797522f8
Content-Encoding:   gzip
-->
