How to increase fontsize in TVGuide (2 Viewers)

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    If you want to increase the fontsize for the MyTV - TV Guide in Blue2, you need to change the following:

    open mytvguide.xml

    find:
    <control>
    <description>Channel template</description>
    <type>image</type>
    <id>20</id>
    <posX>62</posX>
    <posY>125</posY>
    <width>124</width>
    <height>34</height>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    change:
    <height>40</height>

    find:
    <control>
    <description>Channel image template</description>
    <type>image</type>
    <id>7</id>
    <width>31</width>
    <height>31</height>
    <zoom>no</zoom>
    <texture>defaultVideoBig.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    change:
    <width>38</width>
    <height>38</height>

    find:
    <control>
    <description>channel Label template</description>
    <type>label</type>
    <id>18</id>
    <posX>35</posX>
    <posY>5</posY>
    <width>65</width>
    <height>15</height>
    <font>font13</font>
    <textcolor>FFFFFFFF</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    change:
    <font>font16</font>

    find:
    <control>
    <description>template for program title light area</description>
    <type>label</type>
    <id>24</id>
    <visible>no</visible>
    <label>-</label>
    <font>font13</font>
    <textcolor>CF101010</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    change:
    <font>font16</font>

    find:
    <control>
    <description>template for program title darkarea </description>
    <type>label</type>
    <visible>no</visible>
    <id>26</id>
    <label>-</label>
    <font>font13</font>
    <textcolor>FFFFFFF0</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    change:
    <font>font16</font>

    Have fun :)
     

    JaccoH

    Portal Member
    December 1, 2006
    15
    0
    45
    I played around with the same file for the wide screen version. I changed a bit more ..so here is the whole file:

    :sorry: I honestly dont remember all that ive changed:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <window>
    <id>600</id>
    <defaultcontrol>2</defaultcontrol>
    <allowoverlay>no</allowoverlay>
    <controls>
    <control>
    <description>BG</description>
    <type>image</type>
    <id>1</id>
    <width>1366</width>
    <height>768</height>
    </control>
    <control>
    <type>image</type>
    <id>1</id>
    <posX>113</posX>
    <posY>26</posY>
    <texture>television_logo.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <type>image</type>
    <id>1</id>
    <posX>1142</posX>
    <posY>563</posY>
    <texture>-</texture>
    </control>
    <control>
    <description>Date</description>
    <type>label</type>
    <id>1</id>
    <posX>1254</posX>
    <posY>66</posY>
    <label>#date</label>
    <align>right</align>
    <font>font16</font>
    <textcolor>ffa9d0f7</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Time</description>
    <type>label</type>
    <id>1</id>
    <posX>1254</posX>
    <posY>93</posY>
    <label>#time</label>
    <align>right</align>
    <font>font16</font>
    <textcolor>ffa9d0f7</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Guide Text Label</description>
    <type>label</type>
    <id>1</id>
    <posX>474</posX>
    <posY>93</posY>
    <label>4</label>
    <font>font16</font>
    <align>right</align>
    <textcolor>FFFFFFFF</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>TVGUIDE Panel</description>
    <type>image</type>
    <id>2</id>
    <posX>113</posX>
    <posY>120</posY>
    <width>1140</width>
    <height>440</height>
    <colordiffuse>60ffffff</colordiffuse>
    <texture>-</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Single Channel Label</description>
    <type>label</type>
    <id>32</id>
    <posX>436</posX>
    <posY>120</posY>
    <font>font10</font>
    <align>left</align>
    <textcolor>FFFFFFFF</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Single Channel Image</description>
    <type>image</type>
    <id>33</id>
    <posX>350</posX>
    <posY>117</posY>
    <width>46</width>
    <height>46</height>
    <keepaspectratio>yes</keepaspectratio>
    <zoom>yes</zoom>
    <texture>defaultVideoBig.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <!-- Timeheader background must be dedfined before Timeheader label template -->
    <!-- b/c Timeheader is on the background and will be rendered first -->
    <control>
    <description>time header background image template</description>
    <type>image</type>
    <id>90</id>
    <posX>352</posX>
    <posY>120</posY>
    <width>153</width>
    <height>37</height>
    <texture>button_small_settings_nofocus.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>time header label template</description>
    <type>label</type>
    <id>40</id>
    <posX>352</posX>
    <posY>120</posY>
    <font>font13</font>
    <textcolor>FFB2D4F5</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>day spin control</description>
    <type>spincontrol</type>
    <id>6</id>
    <width>24</width>
    <height>24</height>
    <posX>119</posX>
    <posY>122</posY>
    <showrange>no</showrange>
    <orientation>horizontal</orientation>
    <align>center</align>
    <onleft>6</onleft>
    <onright>8</onright>
    <textureUp>arrow_round_right_nofocus.png</textureUp>
    <textureDown>arrow_round_left_nofocus.png</textureDown>
    <textureUpFocus>arrow_round_right_focus.png</textureUpFocus>
    <textureDownFocus>arrow_round_left_focus.png</textureDownFocus>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>time interval spin control</description>
    <type>spincontrol</type>
    <id>8</id>
    <width>24</width>
    <height>24</height>
    <posX>313</posX>
    <posY>128</posY>
    <showrange>no</showrange>
    <orientation>vertical</orientation>
    <align>center</align>
    <textureUp>arrow_round_up_nofocus.png</textureUp>
    <textureDown>arrow_round_down_nofocus.png</textureDown>
    <textureUpFocus>arrow_round_up_focus.png</textureUpFocus>
    <textureDownFocus>arrow_round_down_focus.png</textureDownFocus>
    <onleft>6</onleft>
    <onright>8</onright>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Channel template</description>
    <type>image</type>
    <id>20</id>
    <posX>117</posX>
    <posY>166</posY>
    <width>240</width>
    <height>40</height>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Channel image template</description>
    <type>image</type>
    <id>7</id>
    <width>40</width>
    <height>36</height>
    <zoom>no</zoom>
    <texture>defaultVideoBig.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>channel Label template</description>
    <type>label</type>
    <id>18</id>
    <posX>66</posX>
    <posY>6</posY>
    <width>86</width>
    <height>20</height>
    <font>font16</font>
    <textcolor>FFFFFFFF</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Current program title</description>
    <type>fadelabel</type>
    <id>13</id>
    <posX>374</posX>
    <posY>574</posY>
    <width>666</width>
    <label>#TV.Guide.Title</label>
    <font>font14</font>
    <textcolor>FFFFFFFF</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Current program time</description>
    <type>label</type>
    <id>14</id>
    <posX>374</posX>
    <posY>720</posY>
    <label>#TV.Guide.Time</label>
    <align>left</align>
    <font>font14</font>
    <textcolor>FFB2D4F5</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Current program genre</description>
    <type>label</type>
    <id>27</id>
    <posX>891</posX>
    <posY>720</posY>
    <label>#TV.Guide.Genre</label>
    <align>left</align>
    <font>font14</font>
    <textcolor>FFB2D4F5</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Description1</description>
    <type>textboxscrollup</type>
    <id>15</id>
    <posX>374</posX>
    <posY>614</posY>
    <width>879</width>
    <height>93</height>
    <seperator>----------------------------------------------------------------------------------------------</seperator>
    <label>#TV.Guide.Description</label>
    <font>font16</font>
    <textcolor>FFFFFFFF</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <!-- <control>
    <description>template for program genre light area</description>
    <type>label</type>
    <id>23</id>
    <label>-</label>
    <font>font10</font>
    <textcolor>FF101010</textcolor>
    </control> -->
    <control>
    <description>template for program title light area</description>
    <type>label</type>
    <id>24</id>
    <visible>no</visible>
    <label>-</label>
    <font>font16</font>
    <textcolor>FFFFFFFF</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>vertical timeline</description>
    <type>image</type>
    <id>25</id>
    <posX>55</posX>
    <posY>163</posY>
    <height>390</height>
    <colordiffuse>c0ffffff</colordiffuse>
    <texture>tvguide_slider.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>template for program title darkarea </description>
    <type>label</type>
    <visible>no</visible>
    <id>26</id>
    <label>-</label>
    <font>font16</font>
    <textcolor>FFFFFFFF</textcolor>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <!-- <control>
    <description>template for genre dark area</description>
    <type>label</type>
    <visible>no</visible>
    <id>30</id>
    <label>-</label>
    <font>font13</font>
    <textcolor>FFFFFFFF</textcolor>
    </control> -->
    <control>
    <description>TV background</description>
    <type>image</type>
    <id>98</id>
    <posX>113</posX>
    <posY>574</posY>
    <width>235</width>
    <height>175</height>
    <colordiffuse>60ffffff</colordiffuse>
    <texture>previewbackground.png</texture>
    </control>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    <control>
    <description>TV preview window</description>
    <type>videowindow</type>
    <id>99</id>
    <posX>121</posX>
    <posY>580</posY>
    <width>221</width>
    <height>161</height>
    <action>18</action>
    <textureFocus>tv_green_border.png</textureFocus>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Horizontal scrollbar</description>
    <type>hscrollbar</type>
    <id>28</id>
    <posX>115</posX>
    <posY>550</posY>
    <width>1132</width>
    <height>24</height>
    <visible>yes</visible>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>Vertical scrollbar</description>
    <type>vscrollbar</type>
    <id>29</id>
    <posX>1261</posX>
    <posY>166</posY>
    <width>26</width>
    <height>409</height>
    <visible>yes</visible>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    <control>
    <description>record pin</description>
    <type>image</type>
    <id>31</id>
    <posX>834</posX>
    <posY>706</posY>
    <texture>tvguide_record_button.png</texture>
    <visible>no</visible>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="500">WindowClose</animation>
    </control>
    </controls>
    </window>
     

    PediaMortal

    Portal Member
    November 10, 2006
    14
    0
    Home Country
    United Kingdom United Kingdom
    #TV.Guide.?enre

    Thanks Infini :D

    However... after doing and all the changes, and nothing else... honest guv, I get the following in the bottom right corner,

    #TV.Guide.?enre

    What's all that bout ??? :confused:

    Using 0.2.2.0, Blue2 16:9

    Any suggestions?

    :D

    Rich
     

    Efros

    Portal Pro
    January 23, 2006
    511
    2
    Maine
    Home Country
    England England
    you have to delete the fonts folder in the skin directory. Lets MP regenerate them.
     

    madsrh

    Portal Pro
    July 15, 2006
    130
    1
    Denmark
    Home Country
    Denmark Denmark
    Great

    Thanks Infinityloop, that's nice work. I was actually thinking of suggesting some kind of interface where the sizes in the TVGuide could be changed. I just thought it would be nice to edit font size etc..
    Anyway, this works for me.

    MadsRH
     

    daHive

    Portal Pro
    March 1, 2007
    109
    0
    Home Country
    Austria Austria
    great tips, i´ve already changed the layout/fontsize of a couple of tvosd´s with the help of it!

    what i´d still like to know is if you can change the actual number of channels displayed in the the tvguide or the minitvguide. by default i think there´s 11 channels in the tvguide and 5 or 6 in the miniguide, i´d like to decrease that for the tvguide if possible.
     

    Users who are viewing this thread

    Top Bottom