<br><br><div class="gmail_quote">On Wed, Jul 15, 2009 at 10:06 PM, Otto Kolsi <span dir="ltr">&lt;<a href="mailto:otto@kolsi.fi">otto@kolsi.fi</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
While working on MythMusic CD rip screen alignments (#6607), I tried to make the textedit for year smaller. In music-ui.xml this is defined now like this:<br>
<br>
&lt;textedit name=&quot;year&quot; from=&quot;basetextedit&quot;&gt;<br>
    &lt;position&gt;370,230&lt;/position&gt;<br>
&lt;/textedit&gt;<br>
<br>
I changed &quot;position&quot; element to &quot;area&quot; and tried different sizes but that didn&#39;t seem to work. What&#39;s the way to make the year edit in this case smaller? This should be fairly easy stuff, but I don&#39;t know much about theming or MythUI as you can see :)<br>
<font color="#888888"></font></blockquote><div><br>To resize the textedit, you need to redefine the size of each element of it.  See base.xml&#39;s definition of basetext.  You can still inherit from basetextedit, but you&#39;ll need to also define the background area, etc.<br>
<br>Example using your naming, resized to random size of 100x25:<br></div></div><br>    &lt;textedit name=&quot;year&quot; from=&quot;basetextedit&quot;&gt;<br>        &lt;area&gt;0,0,100,25&lt;/area&gt;         <br>        &lt;statetype name=&quot;background&quot;&gt;<br>
            &lt;state name=&quot;active&quot;&gt;<br>                &lt;imagetype name=&quot;background&quot;&gt;<br>                    &lt;area&gt;0,0,100,25&lt;/area&gt;     <br>                &lt;/imagetype&gt;<br>            &lt;/state&gt;<br>
            &lt;state name=&quot;selected&quot;&gt;<br>                &lt;imagetype name=&quot;background&quot;&gt;<br>                    &lt;area&gt;0,0,100,25&lt;/area&gt;<br>                &lt;/imagetype&gt;<br>            &lt;/state&gt;<br>
            &lt;state name=&quot;inactive&quot;&gt;<br>                &lt;imagetype name=&quot;background&quot;&gt;<br>                    &lt;area&gt;0,0,100,25&lt;/area&gt;<br>                &lt;/imagetype&gt;<br>            &lt;/state&gt;<br>
        &lt;/statetype&gt;<br>        &lt;imagetype name=&quot;cursor&quot;&gt;<br>            &lt;filename&gt;images/cursor.png&lt;/filename&gt;<br>        &lt;/imagetype&gt;<br>        &lt;textarea name=&quot;text&quot;&gt;<br>
            &lt;area&gt;3,5,94,22&lt;/area&gt;<br>        &lt;/textarea&gt;<br>    &lt;/textedit&gt;<br><br>Robert<br>