|
||||
Re: Changing alignment of Titanium Panels?
Quote:
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. |
|
||||
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. |
|
||||
Re: Changing alignment of Titanium Panels?
Quote:
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 |
This post has been thanked 3 times. |
|
||||
Re: Changing alignment of Titanium Panels?
Quote:
|
This post has been thanked 1 times. |
|
||||
Re: Changing alignment of Titanium Panels?
Thank you very much! This worked great, I had to use Resco Explorer to overwrite the .cpr files.
|
|
||||
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:
|
|
||||
Re: Changing alignment of Titanium Panels?
Quote:
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. |
|
||||
Re: Changing alignment of Titanium Panels?
Quote:
|
|
||||
Re: Changing alignment of Titanium Panels?
pay it forward...others have helped me, so im helping others...
|
This post has been thanked 1 times. |
|
|
|