Text Align In .ini Files

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Text Align In .ini Files

Re: Text Align In .ini Files

by rovingcowboy » Wed Nov 09, 2011 5:57 pm

ah thanks for the catch nohitter151, i've not done it different or at all in a long time so i kind of lost what it did in my instant recall. :)

Re: Text Align In .ini Files

by nohitter151 » Wed Nov 09, 2011 9:46 am

rovingcowboy wrote:
TimeFormat=hh:mm:ss

capital letters in the above make it do different things i can't remember what though right now. :-?

8)
If you use hh:mm:ss the time will always show as 00:03.23, meaning the leading zeros for the hour are listed though not needed.

You can instead use HH:mm:ss so then the hour numbers are only displayed when needed.

Re: Text Align In .ini Files

by rovingcowboy » Wed Nov 09, 2011 1:04 am

tip on timer clock set up.

make sure you have enough space in the area code for the size of font you want to use. so that you have 3 or 4 letters worth of blank space on the right of the last number in the clock.

this will allow for the longer times to be seen with out the scrolling.

so if you have a text font of 30 in the clock you need to count the number of fonts used in the clock and times by 15 that should give you the room needed for those number then you can just count how many you need to add. i said the number 15 because its half the 30 height of the font.

each font style is different in its needs. this is the time section in my ini file for the vumeter skin of mine,


[TimeDisplay]
Type=Text
Resizable=1,1,1,1
Pos=307,30
Size=122,30
Transperent=0
SmallDigits=0
FontColor=FFFFFF
FontHeight=-29

now if you look at the time code to see if you can add in more numbers for hours then you need to do this in the ini
for the player section thats on top in the ini file.

TimeFormat=hh:mm:ss

capital letters in the above make it do different things i can't remember what though right now. :-?




8)

Re: Text Align In .ini Files

by Elmer B. Fuddled » Tue Nov 08, 2011 9:11 pm

Cheers nohitter.

Could've swore blind I'd done a FF search for textalign on that page and got no hits.

Thanks a lot.

Re: Text Align In .ini Files

by nohitter151 » Tue Nov 08, 2011 9:02 pm

From the wiki:
TextAlign
Text aligning. Can be -1 for left-align, 0 for center or 1 for right-align.
http://www.mediamonkey.com/wiki/index.p ... and_higher

Text Align In .ini Files

by Elmer B. Fuddled » Tue Nov 08, 2011 8:54 pm

In the skins ini (player etc.) files can you TextAlign to the right, and if so what is the command? I've tried 0 (off?), 1 (on?) and -1 (?) but I'm seeing absolutely no difference.

I'm using TextMask=%I / %H and if I can align it to the right it will stop it "bouncing" as the timer increases. Also it will be easier for me to control its placement.

As an aside, is it possible to have %I over %H so it looks like:

10:13 <-- Countdown / up
15:20 <-- Track length

What about a leading zero for times less than 10?
TIA

Elmer.

Top