PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks > Titanium Tweaks

Notices



Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-20-2010, 07:58 PM
tommydorns's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2 and Touch Pro
Carrier: Sprint
Location: Earth
 
Join Date: Jan 2008
Posts: 74
Reputation: 25
tommydorns is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Changing alignment of Titanium Panels?

Does anyone know how to change the alignment of the Panels? By default they are to the left. I was wanting them centered.. I have searched but to couldn't find anything.
  #2 (permalink)  
Old 02-21-2010, 08:41 PM
lobo4806's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP2
Carrier: Verizon
Location: Nor*Cal
 
Join Date: Nov 2007
Posts: 132
Reputation: 245
lobo4806 is keeping up the good worklobo4806 is keeping up the good worklobo4806 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Changing alignment of Titanium Panels?

Quote:
Originally Posted by tommydorns View Post
Does anyone know how to change the alignment of the Panels? By default they are to the left. I was wanting them centered.. I have searched but to couldn't find anything.

This is how i did it for my touch pro 2, which has a resolution of 480x800.

<Layer ID="ClockCondensed" Visible="False" Width="480" Height="68">
<Layer ID="Page">
<Text ID="Text 2"
Left="20" Top="8" Width="440" Height="68" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<!-- AM/PM -->
<Text ID="AMPM" Left="0" Top="8" Width="100" Height="40" FontFamily="Tahoma" FontSize="10.5" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />


Go into your device's windows directory and edit the Titanium_480x800.cpr and also the Titanium_800x480.cpr file. If your phone's resolution is different, like 480x640 then you will be editing the aptly named file. Just substitute your resolution for what i have here...

You must go into each plugin's section ie: Clock, Phone, Text, Music, etc... and you will be editing in the portion
<Layer ID="ClockCondensed", or <Layer ID="TextCondensed", etc

The bold text colored red up there: VerticalAlignment="Top" ... you can change that to HorizontalAlignment="Right
" or "Center".

To make them truly centered you must also change
Left="20" to "0" and Width="440" to "480" for the titanium_480x800.cpr and in the titanium_800x480.cpr change it to "800".

Then just go to testing. Make sure you backup your original .cpr files.

Disable the titanium today screen in your Settings/Today/Items

Copy your newly edited .cpr files back to the device's windows directory, overwrite.

Reenable titanium and see what you got.



this is how i got mine to look like so...

__________________

...the blood i bleed is black indeed...


heavy metal bootlegs from the bay area...
http://www.youtube.com/dogtired75
This post has been thanked 4 times.
  #3 (permalink)  
Old 02-22-2010, 01:10 AM
JDM_SOHC's Avatar
PPCGeeks Ladies Man
Offline
Pocket PC: HTC Evo & TP2
Carrier: SpRinT
Location: M-I-YAYO
 
Join Date: Feb 2008
Posts: 2,003
Reputation: 1715
JDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to JDM_SOHC
Re: Changing alignment of Titanium Panels?

could u copy and paste what your cpr files say, I tried the steps above and ended up with a completely grey titanium screen..? thanks..
__________________

This post has been thanked 1 times.
  #4 (permalink)  
Old 02-22-2010, 01:19 AM
lobo4806's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP2
Carrier: Verizon
Location: Nor*Cal
 
Join Date: Nov 2007
Posts: 132
Reputation: 245
lobo4806 is keeping up the good worklobo4806 is keeping up the good worklobo4806 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Changing alignment of Titanium Panels?

Quote:
Originally Posted by jdmsohc22 View Post
could u copy and paste what your cpr files say, I tried the steps above and ended up with a completely grey titanium screen..? thanks..

there ya go...i took out a lotta stuff from mine...like in the screenshot i posted is all i have in my cpr file. i took out everything else. hope it helps tho
Attached Files
File Type: zip cpr.zip (4.4 KB, 57 views) Click for barcode!
This post has been thanked 3 times.
  #5 (permalink)  
Old 02-22-2010, 08:48 AM
JDM_SOHC's Avatar
PPCGeeks Ladies Man
Offline
Pocket PC: HTC Evo & TP2
Carrier: SpRinT
Location: M-I-YAYO
 
Join Date: Feb 2008
Posts: 2,003
Reputation: 1715
JDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to JDM_SOHC
Re: Changing alignment of Titanium Panels?

Quote:
Originally Posted by lobo4806 View Post
Quote:
Originally Posted by jdmsohc22 View Post
could u copy and paste what your cpr files say, I tried the steps above and ended up with a completely grey titanium screen..? thanks..

there ya go...i took out a lotta stuff from mine...like in the screenshot i posted is all i have in my cpr file. i took out everything else. hope it helps tho
SWEEEEETTTTT..!!!!!!!!!!!!! it works an u rock lol, thanks brotha I appreciate it..!!
This post has been thanked 1 times.
  #6 (permalink)  
Old 02-22-2010, 05:38 PM
tommydorns's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2 and Touch Pro
Carrier: Sprint
Threadstarter
Location: Earth
 
Join Date: Jan 2008
Posts: 74
Reputation: 25
tommydorns is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Changing alignment of Titanium Panels?

Thank you very much! This worked great, I had to use Resco Explorer to overwrite the .cpr files.
  #7 (permalink)  
Old 02-22-2010, 05:52 PM
JDM_SOHC's Avatar
PPCGeeks Ladies Man
Offline
Pocket PC: HTC Evo & TP2
Carrier: SpRinT
Location: M-I-YAYO
 
Join Date: Feb 2008
Posts: 2,003
Reputation: 1715
JDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to JDM_SOHC
Re: Changing alignment of Titanium Panels?

Do either of you guys have TitaniumWeather running..?? I'm trying to center that also, but there just seems to be far to many codes of text for me to decipher.. Was wondering maybe if someone had that one figured out too... For now I'll give it some trial & error runs and see how it works out..

Here's the code...
Quote:
<!-- TitaniumWeather -->
<Layer ID="TitaniumWeatherExpanded" Visible="False" Width="480" Height="180">
<Layer ID="Page">
<!-- Page1 icons -->
<Image ID="CurrentIcon" Left="25" Top="-3" Width="120" Height="120" />
<Image ID="Day2Icon" Left="194" Top="0" Width="70" Height="70" />
<Image ID="Day3Icon" Left="264" Top="0" Width="70" Height="70" />
<Image ID="Day4Icon" Left="334" Top="0" Width="70" Height="70" />
<Image ID="Day5Icon" Left="404" Top="0" Width="70" Height="70" />
<!-- detail pages icons -->
<Image ID="ForecastIcon" Left="30" Top="-3" Width="110" Height="110" />
<!-- detail pages text -->
<Text ID="CurrentTemp2" Left="0" Top="-8" Width="175" Height="50" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="2" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetDropTopLeft" Color="#00000000" TextOffset="2" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Temps" Left="0" Top="90" Width="160" Height="70" FontFamily="Segoe UI" FontSize="17" FontStyle="Regular" Wrap="False" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Day" Left="161" Top="17" Width="470" Height="60" FontFamily="Segoe UI" FontSize="8" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Desc" Left="161" Top="43" Width="470" Height="60" FontFamily="Segoe UI" FontSize="8" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Winds" Left="161" Top="69" Width="470" Height="30" FontFamily="Segoe UI" FontSize="7" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Prec" Left="161" Top="92" Width="470" Height="30" FontFamily="Segoe UI" FontSize="7" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Other" Left="161" Top="115" Width="470" Height="30" FontFamily="Segoe UI" FontSize="7" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<!-- Page1 text -->
<Text ID="CurrentTemp" Left="0" Top="-10" Width="190" Height="70" FontFamily="Segoe UI" FontSize="22" FontStyle="Regular" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="2" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetDropTopLeft" Color="#00000000" TextOffset="2" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="TodayTemps" Left="2" Top="110" Width="180" Height="50" FontFamily="Segoe UI" FontSize="8" FontStyle="Regular" Wrap="False" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Day2" Left="185" Top="70" Width="82" Height="100" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular" Wrap="True" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Day3" Left="255" Top="70" Width="82" Height="100" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular" Wrap="True" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Day4" Left="325" Top="70" Width="82" Height="100" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular" Wrap="True" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Day5" Left="395" Top="70" Width="82" Height="100" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular" Wrap="True" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Time" Left="0" Top="113" Width="465" Height="20" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<!-- Radar Page -->
<Image ID="PICTURES" Left="20" Top="0" Width="235" Height="150" />
<Text ID="TEXT1" Left="265" Top="45" Width="220" Height="42" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="TEXT2" Left="265" Top="80" Width="220" Height="60" FontFamily="Tahoma" FontSize="8" FontStyle="Regular" Wrap="True" VerticalAlignment="Top" Trimming="EllipsisCharacter">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
<Layer ID="TitaniumWeatherCondensed" Visible="False" Width="480" Height="60">
<Layer ID="Page">
<Text ID="PluginLabel" Left="20" Top="8" Width="460" Height="52" FontFamily="Segoe UI" FontSize="16" FontStyle="Regular" Wrap="False" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Text="voicemail">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
</Form>
  #8 (permalink)  
Old 02-23-2010, 02:16 AM
lobo4806's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP2
Carrier: Verizon
Location: Nor*Cal
 
Join Date: Nov 2007
Posts: 132
Reputation: 245
lobo4806 is keeping up the good worklobo4806 is keeping up the good worklobo4806 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Changing alignment of Titanium Panels?

Quote:
Originally Posted by jdmsohc22 View Post
Do either of you guys have TitaniumWeather running..?? I'm trying to center that also, but there just seems to be far to many codes of text for me to decipher.. Was wondering maybe if someone had that one figured out too... For now I'll give it some trial & error runs and see how it works out..

Here's the code...

</Text>
</Layer>
</Layer>
<Layer ID="TitaniumWeatherCondensed" Visible="False" Width="480" Height="60">
<Layer ID="Page">
<Text ID="PluginLabel" Left="20" Top="8" Width="460" Height="52" FontFamily="Segoe UI" FontSize="16" FontStyle="Regular" Wrap="False" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Text="voicemail">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
</Form>
Same as changing the other sections...just find the "condensed" section of each plugin you want to change...

Go all the way down and find the "TitaniumWeatherCondensed". this is the section you edit to change the appearance of the plugin when the translucent bar thingy is not over it...

change VerticalAlignment="Middle" to HorizontalAlignment="Center"

Thats titanium weather running up there on my screenshot...
This post has been thanked 2 times.
  #9 (permalink)  
Old 02-23-2010, 01:35 PM
JDM_SOHC's Avatar
PPCGeeks Ladies Man
Offline
Pocket PC: HTC Evo & TP2
Carrier: SpRinT
Location: M-I-YAYO
 
Join Date: Feb 2008
Posts: 2,003
Reputation: 1715
JDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on repJDM_SOHC is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to JDM_SOHC
Re: Changing alignment of Titanium Panels?

Quote:
Originally Posted by lobo4806 View Post
Same as changing the other sections...just find the "condensed" section of each plugin you want to change...

Go all the way down and find the "TitaniumWeatherCondensed". this is the section you edit to change the appearance of the plugin when the translucent bar thingy is not over it...

change VerticalAlignment="Middle" to HorizontalAlignment="Center"

Thats titanium weather running up there on my screenshot...
YOU COME THROUGH AGAIN LOBO..!!! lol... thanks a lot man I really appreciate it, you rock dude...
  #10 (permalink)  
Old 02-23-2010, 04:57 PM
lobo4806's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP2
Carrier: Verizon
Location: Nor*Cal
 
Join Date: Nov 2007
Posts: 132
Reputation: 245
lobo4806 is keeping up the good worklobo4806 is keeping up the good worklobo4806 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Changing alignment of Titanium Panels?

Quote:
Originally Posted by jdmsohc22 View Post
YOU COME THROUGH AGAIN LOBO..!!! lol... thanks a lot man I really appreciate it, you rock dude...
pay it forward...others have helped me, so im helping others...
This post has been thanked 1 times.
Closed Thread

  PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks > Titanium Tweaks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 10:03 AM.


Powered by vBulletin® ©2000 - 2019, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com