SE-NSE Forums:

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

C510: Editing Font Sizes In Layout_main.xml - No Effect? y not? :)

#1 User is offline   Logan` Icon

  • n00b
  • Group: Members
  • Posts: 6
  • Joined: 31-July 09

Posted 31 July 2009 - 12:24 PM

Hey,

I just read the tutorial (Layout.xml - Investigating Font Values, Changing the default Font options for the whole interface.) and tried to do it for my c510. First of all I tried to get the text input fonts smaller. so I changed

<object name="StringInput">
  <settings>
    <sett name="FontType" value="FontE_24R"/>


to

<object name="StringInput">
  <settings>
    <sett name="FontType" value="FontE_16R"/>


I uploaded the files back to my phone via A2Uploader exitedly.. rebooted my phone.. and then.. nothing. The fonts wont change.

Can somebody tell me what I'm doing wrong?

Do I need to edit more of that object? Here's the rest of the code

<object name="StringInput">
  <settings>
    <sett name="FontType" value="FontE_16R"/>
    <sett name="TitleMode" value="32767"/>
    <sett name="OverlayStyle" value="5"/>
    <sett name="YPos" value="32766"/>
  </settings>
  <font name="SmallFont">
    <size value="16"/>
    <style value="Bold"/>
  </font>
  <attributes count="35">
    <attr index="0"  value="2"/>  <!-- INTERNAL_FRAME_FONT_SIZE -->
    <attr index="1"  value="0"/>  <!-- INTERNAL_FRAME_FONT_STYLE -->
    <attr index="2"  value="2"/>  <!-- INTERNAL_FRAME_LARGE_FONT_SIZE -->
    <attr index="3"  value="0"/>  <!-- INTERNAL_FRAME_LARGE_FONT_STYLE -->
    <attr index="4"  value="10"/> <!-- STRING_INPUT_INROW_SCROLL -->
    <attr index="5"  value="32"/> <!-- STRING_INPUT_RESERVESPACE_CHINESE -->
    <attr index="6"  value="0"/>  <!-- INTERNAL_FRAME_LARGE_SHOW_TITLE -->
    <!-- StringInput TextInputBar layout -->
    <attr index="7"  value="240"/><!-- TextInputBar Width -->
    <attr index="8"  value="30"/> <!-- TextInputBar Heigth -->   
    <attr index="9"  value="0"/>  <!-- TextInputBar X position -->
    <attr index="10" value="236"/><!-- TextInputBar Y position -->   
    <!-- StringInput StatusBar layout -->
    <attr value="113"/> <!-- Time [url="/products/x1"]x1[/url] --> 
    <attr value="177"/> <!-- Time x2 -->
    <attr value="6"/>   <!-- Time y1 -->
    <attr value="23"/>  <!-- Time y2 -->
    <attr value="61"/>  <!-- StatusBar X position -->
    <attr value="179"/> <!-- StatusBar Width -->
    <attr value="2"/>   <!-- Nbr icons -->
    <!-- Icons (x1, x2, y1, y2) -->
    <attr value="31"/>  <attr value="56"/> <attr value="1"/>   <attr value="23"/>  <attr value="1"/>  <attr value="1"/>
    <attr value="59"/>  <attr value="84"/> <attr value="1"/>   <attr value="23"/>  <attr value="1"/>  <attr value="1"/>
    <attr value="1"/>   <!-- Nbr TextFields -->
    <!-- TextField (x1, x2, y1, y2) -->
    <attr value="87"/>  <attr value="112"/> <attr value="5"/>   <attr value="19"/> <!-- CounterBox -->
  </attributes>
  <attributes count="35" layout="1">
    <attr index="0"  value="2"/>  <!-- INTERNAL_FRAME_FONT_SIZE -->
    <attr index="1"  value="0"/>  <!-- INTERNAL_FRAME_FONT_STYLE -->
    <attr index="2"  value="2"/>  <!-- INTERNAL_FRAME_LARGE_FONT_SIZE -->
    <attr index="3"  value="0"/>  <!-- INTERNAL_FRAME_LARGE_FONT_STYLE -->
    <attr index="4"  value="10"/> <!-- STRING_INPUT_INROW_SCROLL -->
    <attr index="5"  value="32"/> <!-- STRING_INPUT_RESERVESPACE_CHINESE -->
    <attr index="6"  value="0"/>  <!-- INTERNAL_FRAME_LARGE_SHOW_TITLE -->
    <!-- StringInput TextInputBar layout -->
    <attr index="7"  value="240"/><!-- TextInputBar Width -->
    <attr index="8"  value="30"/> <!-- TextInputBar Heigth -->   
    <attr index="9"  value="0"/>  <!-- TextInputBar X position -->
    <attr index="10" value="236"/><!-- TextInputBar Y position -->  
    <!-- StringInput StatusBar layout -->
    <attr value="113"/> <!-- Time [url="/products/x1"]x1[/url] --> 
    <attr value="177"/> <!-- Time x2 -->
    <attr value="6"/>   <!-- Time y1 -->
    <attr value="23"/>  <!-- Time y2 -->
    <attr value="61"/>  <!-- StatusBar X position -->
    <attr value="179"/> <!-- StatusBar Width -->
    <attr value="2"/>   <!-- Nbr icons -->
    <!-- Icons (x1, x2, y1, y2) -->
    <attr value="31"/>  <attr value="56"/> <attr value="1"/>   <attr value="23"/>  <attr value="1"/>  <attr value="1"/>
    <attr value="59"/>  <attr value="84"/> <attr value="1"/>   <attr value="23"/>  <attr value="1"/>  <attr value="1"/>
    <attr value="1"/>   <!-- Nbr TextFields -->
    <!-- TextField (x1, x2, y1, y2) -->
    <attr value="87"/>  <attr value="112"/> <attr value="1"/>   <attr value="23"/> <!-- CounterBox -->
  </attributes>
</object>


edit:

Changing
<font name="SmallFont">
<size value="16"/>
<style value="Bold"/>
</font>

to

<font name="SmallFont">
<size value="12"/>
<style value="Bold"/>
</font>

didnt help either :(

This post has been edited by Logan`: 31 July 2009 - 12:43 PM

0

#2 User is offline   Marzee_1 Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,035
  • Joined: 25-February 09
  • Gender:Male
  • Location:Planet-Marz-ink...
  • Mobile:K610i>W660i,Nokia n95 dual sim-touch screen,w910,w595,iphone,nokia e71

Posted 31 July 2009 - 12:53 PM

dude i think you have to change them all as you can see in the layout file each object name has a specified font size change the ones of your choice it should work then...
Posted Image
0

#3 User is offline   jock Icon

  • I'm a Snow Leopard!
  • Icon
  • Group: Moderators
  • Posts: 4,521
  • Joined: 25-December 07
  • Gender:Male
  • Location:Sweden
  • Mobile:iPhone 3GS
  • Tutorials Submitted:1

Posted 31 July 2009 - 01:15 PM

Moved, Don't post everything in research and development, nothing you posted belongs there
Programs: CodeClaw
Graphics: SE-Design
0

SE-NSE

#4 User is offline   Junz Icon

  • Non-se-nse
  • PipPipPip
  • Group: Members
  • Posts: 245
  • Joined: 23-November 08
  • Gender:Male
  • Location:INA
  • Mobile:C901 R1GA028

Posted 03 August 2009 - 05:50 PM

try to change all 24R to another, or resize your font using fontscreator or edit the fontengine.xml :)
C901 R1GA028 + HPM-77 + 2GB M2
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users