Text Align In .ini Files

If you want to contribute MediaMonkey skins, themes, icons, etc...

Moderators: Morten, Gurus

Elmer B. Fuddled
Posts: 19
Joined: Sat Mar 20, 2010 7:04 am

Text Align In .ini Files

Post by Elmer B. Fuddled »

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.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Text Align In .ini Files

Post by nohitter151 »

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
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
Elmer B. Fuddled
Posts: 19
Joined: Sat Mar 20, 2010 7:04 am

Re: Text Align In .ini Files

Post by Elmer B. Fuddled »

Cheers nohitter.

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

Thanks a lot.
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: Text Align In .ini Files

Post by rovingcowboy »

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)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Text Align In .ini Files

Post by nohitter151 »

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.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: Text Align In .ini Files

Post by rovingcowboy »

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. :)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Post Reply