MLCalendar extra space ISSUE

Thread to discuss the MLOutlook family of applications: MLCalendar / MLEmail / MLPhoneBook
Blade
Expert
Expert
Posts: 760
Joined: Tue Nov 09, 2004 9:38 pm
Location: Lucan, Ontario
Contact:

MLCalendar extra space ISSUE

Postby Blade » Mon Mar 23, 2009 5:11 pm

For the mlcalendar_date_display variables...

If there are multiple items for a day then they are separated with the <br> character. BUT there seems to be an extra space after the <br> character. See below:

DAYS<BR> 6:30 PM - KARATE

There should not be a space after <br> and before 6:30

This throws off the spacing in the calendar cell.

Can someone please make this minor change to the plugin?

Thx

User avatar
ronsatter
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1304
Joined: Mon Dec 04, 2006 1:40 am
Location: San Leandro, CA
Contact:

Postby ronsatter » Mon Mar 23, 2009 11:44 pm

I agree with Blade on this issue. It's messin' with my calendar scene, man 8)

Who cares about MusicLobby anyway ... this is high priority!

Ron
If it ain't broke ... don't fix it!

Blade
Expert
Expert
Posts: 760
Joined: Tue Nov 09, 2004 9:38 pm
Location: Lucan, Ontario
Contact:

Postby Blade » Tue Mar 24, 2009 7:13 am

Ron,
Give this script a try. I run it every time I change the month to next and previous

Code: Select all

Sub RemoveExtraSpacesInDateDisplays

    dim i
    dim sEvent

    For i = 1 to 37

        sEvent = MLServer.GetVariable ("mlcalendar_date_display_" & Cstr(i))

        If sEvent <> "" Then
            MLServer.cmdReceive "MLStrings|Replace~mlcalendar_date_display_" & Cstr(i) & "~{{mlcalendar_date_display_" & Cstr(i) & "}}~<BR> ~<BR>"
        End If

    Next

End Sub

Call RemoveExtraSpacesInDateDisplays


Return to “MLOutlook”

Who is online

Users browsing this forum: No registered users and 1 guest