![]() |
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.
|
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... http://img33.imageshack.us/img33/9879/screen01d.jpg |
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..
|
Re: Changing alignment of Titanium Panels?
1 Attachment(s)
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 |
Re: Changing alignment of Titanium Panels?
Quote:
|
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... |
Re: Changing alignment of Titanium Panels?
Quote:
|
Re: Changing alignment of Titanium Panels?
Quote:
|
Re: Changing alignment of Titanium Panels?
Quote:
so while we're still in good spirits, would it be to much to ask on how to change the font in titanium..?? I've searched fonts in the cpr file but it shows one font type like 500 times... Do I have to find & replace every single one and replace it..?? thanx |
Re: Changing alignment of Titanium Panels?
Quote:
change the font names to the real name of the font: segoeui.ttf is "Segoe UI"...thats what you put into the .cpr...you can find the real name of the font by simply double clicking to preview it, its in the top left...on windows 7 at least, im sure with vista and xp also. the easiest way is grab notepad++ http://notepad-plus.sourceforge.net/uk/site.htm ...its a great text editor and you can do a search and replace in like 5 seconds...what i like to do is open both of the .cpr files in tabs, line up both files by line number and edit something in one, then switch and edit the other so i dont skip anything between portrait and landscape... hope that helps ps... "segoe ui light" is essentially the same font used in the zune and windows phone 7 series...and it should come preinstalled with windows in your windows/font directory... |
Re: Changing alignment of Titanium Panels?
Ohhhh alright I see, I was told to put it in the Windows\Fonts folder... Thanks again dude for your time & help... Im'a give this a whirl and hopefully post back some satisfying updates... I'm also on a trial an error run with changing the TitaniumWeather font size itself, everything else in titanium is lower cased except "TitaniumWeather" and it's also a bigger font I think...
|
Re: Changing alignment of Titanium Panels?
WOOHOOOO..!! I'm startin to get the hang of this... I just can't find out how to change the first font in every title to a capitalized letter and make the "TitaniumWeather" text one size smaller to match the rest...
When I goto notepad++ and do a search for Music or w/e it gives me the layer ID and than if I continue I get the condensed text also, but it doesn't show it lower cased like it does on my phone, so I would know exactly what Music text I should capitalize, same goes with TitaniumWeather, I dunno which one to lower case or change font size... Thanks lobo you definitely are doin a great job at passing it on..!! I've already got PM's about this as well and I'm just forwarding the info u gave me, so I'm passin it on too..!! http://i21.photobucket.com/albums/b2...ewTitanium.jpg |
Re: Changing alignment of Titanium Panels?
Quote:
|
Re: Changing alignment of Titanium Panels?
Quote:
Try using CHomeEditor... http://forum.xda-developers.com/showthread.php?t=506951 |
Re: Changing alignment of Titanium Panels?
lobo, this is excellent information. I used to spend quite a while on CPR's, developing scripts and modifying titanium in general. I am making great progress in converting to a completely centered, imageless titanium environment :) I will of course be posting screenshots when it is complete :-D I thanked every one of your posts.
btw, I watched the video of One by Metallica on your youtube channel... freaking sweet. you're so lucky to have been there. I have yet to see Metallica in concert, but one day the dream will come true :-D with your permission I would like to include this information in my titanium modifications sticky ;) |
Re: Changing alignment of Titanium Panels?
Quote:
yea totally go ahead...freedom of information...what kinds of things have you worked on for titanium? yea only my 2nd time seeing metallica. hoping they do a big four tour in the states so i can catch my first slayer show |
Re: Changing alignment of Titanium Panels?
Quote:
|
Re: Changing alignment of Titanium Panels?
Quote:
and also was it you i asked about the code in the .cpr to insert the day of the week on the clock panel? i found some code for that, tried it and i couldnt work it... |
Re: Changing alignment of Titanium Panels?
1 Attachment(s)
all redone to now show the notification counts
just backup and overwrite your original .cpr files in your device/windows directory...enjoy http://img6.imageshack.us/img6/5023/screen05t.jpg http://img705.imageshack.us/img705/3310/screen06n.jpg |
Re: Changing alignment of Titanium Panels?
thanx for your hard work
|
Re: Changing alignment of Titanium Panels?
yes, thanks! I have finished my mods, I am testing a cab I just made to add all my custom panels, center everything, remove images, script to change titanium fonts and shadow colors, plus chome editor, opera favoritea dn atfavepoeple. also a new start menu group called customization for the new things to go in. I have to flash a ROM other than mine to test it though, since mine already has all that stuff ;)
|
Re: Changing alignment of Titanium Panels?
Does anyone know how to center titanium on a tp1
|
Re: Changing alignment of Titanium Panels?
Quote:
|
Re: Changing alignment of Titanium Panels?
Sweet, didn't realize this thread has progressed as much as it has... =)
Good Shit..!! |
Re: Changing alignment of Titanium Panels?
http://i27.photobucket.com/albums/c1...Screen01-1.png
http://i27.photobucket.com/albums/c1...Screen07-1.png made possible by you..thnx http://forum.ppcgeeks.com/showthread.php?t=113715 like someone said good shit man |
All times are GMT -4. The time now is 10:58 PM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com