<?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: Uitab customizations	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/uitab-customizations/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/uitab-customizations?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=uitab-customizations</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 05 Oct 2022 16:52:21 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-515302</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 05 Oct 2022 16:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-515302</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/uitab-customizations#comment-515291&quot;&gt;Luis Santiago&lt;/a&gt;.

@Luis - I discuss adding a close button to uitabs here: &lt;a href=&quot;http://undocumentedmatlab.com/articles/uitab-colors-icons-images&quot; target=&quot;_blank&quot;&gt;http://undocumentedmatlab.com/articles/uitab-colors-icons-images&lt;/a&gt;
Note that it might or might not work, depending on your Matlab release. In any case note that it only works with uitabs in the Java-based figures, not web-based uifigures.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/uitab-customizations#comment-515291">Luis Santiago</a>.</p>
<p>@Luis &#8211; I discuss adding a close button to uitabs here: <a href="http://undocumentedmatlab.com/articles/uitab-colors-icons-images" target="_blank">http://undocumentedmatlab.com/articles/uitab-colors-icons-images</a><br />
Note that it might or might not work, depending on your Matlab release. In any case note that it only works with uitabs in the Java-based figures, not web-based uifigures.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Luis Santiago		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-515291</link>

		<dc:creator><![CDATA[Luis Santiago]]></dc:creator>
		<pubDate>Tue, 04 Oct 2022 17:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-515291</guid>

					<description><![CDATA[Hi Yair, is it possible to add a small button next to the tab title to remove it? Kind of like the little &quot;x&quot; on the side of a browser tab.
Thanks.]]></description>
			<content:encoded><![CDATA[<p>Hi Yair, is it possible to add a small button next to the tab title to remove it? Kind of like the little &#8220;x&#8221; on the side of a browser tab.<br />
Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-419096</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 12 Feb 2018 17:36:30 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-419096</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/uitab-customizations#comment-419094&quot;&gt;Eric Alexander&lt;/a&gt;.

@Eric - of course, you can use HTML, much as for uitables (as I &lt;a href=&quot;http://undocumentedmatlab.com/blog/multi-line-uitable-column-headers&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;explained here&lt;/a&gt;)
&lt;pre lang=&quot;matlab&quot;&gt;uitab(&#039;Title&#039;,&#039;&lt;html&gt;Line #1&lt;br/&gt;Line #2&#039;)&lt;/pre&gt;

Add a &lt;code&gt;&#060;center&#062;&lt;/code&gt; tag if you want the tab label to be centered:
&lt;pre lang=&quot;matlab&quot;&gt;uitab(&#039;Title&#039;,&#039;&lt;html&gt;&lt;center&gt;Line #1&lt;br/&gt;Line #2&#039;)&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/uitab-customizations#comment-419094">Eric Alexander</a>.</p>
<p>@Eric &#8211; of course, you can use HTML, much as for uitables (as I <a href="http://undocumentedmatlab.com/blog/multi-line-uitable-column-headers" target="_blank" rel="nofollow">explained here</a>)</p>
<pre lang="matlab">uitab('Title','<html>Line #1<br />Line #2')</html></pre>
<p>Add a <code>&lt;center&gt;</code> tag if you want the tab label to be centered:</p>
<pre lang="matlab">uitab('Title','<html><center>Line #1<br />Line #2')</center></html></pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eric Alexander		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-419094</link>

		<dc:creator><![CDATA[Eric Alexander]]></dc:creator>
		<pubDate>Mon, 12 Feb 2018 16:41:16 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-419094</guid>

					<description><![CDATA[Yair,

Do you know of any means to create a uitab with two lines of text that are on top of one another. Uitab does not accept cell arrays when called the &quot;Title&quot; property i.e. uitab(&#039;Title&#039;,{&#039;Cat&#039;;&#039;Dog&#039;}) gives an error. Even when doing uitab(&#039;Title&#039;,[&#039;Cat&#039;;&#039;Dog&#039;]) creates a tab with the title &#039;CDaotg&#039; for some reason. Any insight would be helpful.

-Eric]]></description>
			<content:encoded><![CDATA[<p>Yair,</p>
<p>Do you know of any means to create a uitab with two lines of text that are on top of one another. Uitab does not accept cell arrays when called the &#8220;Title&#8221; property i.e. uitab(&#8216;Title&#8217;,{&#8216;Cat&#8217;;&#8217;Dog&#8217;}) gives an error. Even when doing uitab(&#8216;Title&#8217;,[&#8216;Cat&#8217;;&#8217;Dog&#8217;]) creates a tab with the title &#8216;CDaotg&#8217; for some reason. Any insight would be helpful.</p>
<p>-Eric</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-95604</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 13 Jul 2012 07:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-95604</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/uitab-customizations#comment-91731&quot;&gt;Limo&lt;/a&gt;.

@Limo - I suggest that you contact Malcolm Lidierth, to ask him about this. He wrote Waterloo and could probably answer your question directly.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/uitab-customizations#comment-91731">Limo</a>.</p>
<p>@Limo &#8211; I suggest that you contact Malcolm Lidierth, to ask him about this. He wrote Waterloo and could probably answer your question directly.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Limo		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-91731</link>

		<dc:creator><![CDATA[Limo]]></dc:creator>
		<pubDate>Thu, 21 Jun 2012 14:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-91731</guid>

					<description><![CDATA[Hi,

also first of all thank u for all these amazing posts, they are so helpful!
and i&#039;m trying to make a scrollpane,which basicly use the same trick in GScrollpane of Waterloo (inner &#038; outer &#038; slider...), but i hope all uicontrols can be hidden when they should be... So i tried to use a uitab as the inside pane, cause uitab is from &#039;JTabbedPane&#039; and in this way, lightweight, and then added all uicontrols on it.

I thought theoretically it should work (lightweight Panel &#038; lightweight uicontrols), but sadly it didn&#039;t. Any idea why?

bests,
limo]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>also first of all thank u for all these amazing posts, they are so helpful!<br />
and i&#8217;m trying to make a scrollpane,which basicly use the same trick in GScrollpane of Waterloo (inner &amp; outer &amp; slider&#8230;), but i hope all uicontrols can be hidden when they should be&#8230; So i tried to use a uitab as the inside pane, cause uitab is from &#8216;JTabbedPane&#8217; and in this way, lightweight, and then added all uicontrols on it.</p>
<p>I thought theoretically it should work (lightweight Panel &amp; lightweight uicontrols), but sadly it didn&#8217;t. Any idea why?</p>
<p>bests,<br />
limo</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-76692</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 06 Mar 2012 14:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-76692</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/uitab-customizations#comment-76691&quot;&gt;sebbo&lt;/a&gt;.

@Sebbo - as I noted in the article, Matlab releases up to 2010 had this problem with java controls. This problem has been fixed in either R2010a or R2010b (I forget which).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/uitab-customizations#comment-76691">sebbo</a>.</p>
<p>@Sebbo &#8211; as I noted in the article, Matlab releases up to 2010 had this problem with java controls. This problem has been fixed in either R2010a or R2010b (I forget which).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sebbo		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-76691</link>

		<dc:creator><![CDATA[sebbo]]></dc:creator>
		<pubDate>Tue, 06 Mar 2012 14:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-76691</guid>

					<description><![CDATA[Hi,

thanks!. Though this is a rather old post I found this quite helpful.
I seem to be having a problem though with using uitabs as parents for other ui-elements.
For instance, when I append this one line to your example:

&lt;pre lang=&quot;matlab&quot;&gt;
    t = uicomponent( tab1, &#039;style&#039;, &#039;JTextField&#039;, &#039;Text&#039;, &#039;Hello&#039;);
&lt;/pre&gt;

The result JTextField still remains visible after switching to tab2.
I seem to be having the same issue with more complex java controls too.

Any idea on how to solve this?

cheers,
sebastian]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>thanks!. Though this is a rather old post I found this quite helpful.<br />
I seem to be having a problem though with using uitabs as parents for other ui-elements.<br />
For instance, when I append this one line to your example:</p>
<pre lang="matlab">
    t = uicomponent( tab1, 'style', 'JTextField', 'Text', 'Hello');
</pre>
<p>The result JTextField still remains visible after switching to tab2.<br />
I seem to be having the same issue with more complex java controls too.</p>
<p>Any idea on how to solve this?</p>
<p>cheers,<br />
sebastian</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-36900</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 16 Mar 2011 13:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-36900</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/uitab-customizations#comment-36898&quot;&gt;Gina&lt;/a&gt;.

@Gina - thanks: I fixed the link in the post.
It is http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/uitab-customizations#comment-36898">Gina</a>.</p>
<p>@Gina &#8211; thanks: I fixed the link in the post.<br />
It is <a href="http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/" rel="ugc">http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gina		</title>
		<link>https://undocumentedmatlab.com/articles/uitab-customizations#comment-36898</link>

		<dc:creator><![CDATA[Gina]]></dc:creator>
		<pubDate>Wed, 16 Mar 2011 13:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1959#comment-36898</guid>

					<description><![CDATA[The &quot;Look and Feel&quot; link doesn&#039;t seem to be working. Is there another post somewhere that shows how to change the appearance of the tabs as in the images above?]]></description>
			<content:encoded><![CDATA[<p>The &#8220;Look and Feel&#8221; link doesn&#8217;t seem to be working. Is there another post somewhere that shows how to change the appearance of the tabs as in the images above?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
