+ Reply
Results 1 to 4 of 4

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: calendar text positioning

is a discussion within the

File Mods

forums, a part of the

iPhone Modding

section;
I have been looking at several different Calendar icons and the thing about most of them is they are all similar. And the reason for that is that they sort
...
  1. #1
    What's Jailbreak?
    Join Date
    Dec 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default calendar text positioning
    I have been looking at several different Calendar icons and the thing about most of them is they are all similar. And the reason for that is that they sort of have to be. So, I'm wondering if anyone has figured out how to customize how the iPhone displays the text. Maybe change the font, change the positioning of the text, etc. There has to be some file that tells it what pixels to put the day and what pixels to put the number. It's not listed in the Calendar.app as I've scoured all those files. I am still looking around to see if I can find it, but I wanted to see if anyone else has come across these values.

    X
    Last edited by xious; 01-10-2008 at 01:56 PM. Reason: email notification

  2. #2
    Developer NetMage's Avatar
    Join Date
    Aug 2007
    Location
    Virginia
    Posts
    1,296
    Thanks
    72
    Thanked 210 Times in 168 Posts

    SpringBoard is the application that draws the main screen.

    It is unlikely, however, that the font and position information are in a file. That would involve extra programming effort for no particular reason.
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

  3. #3
    What's Jailbreak?
    Join Date
    Dec 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Seeing as how the Calendar.app can be moved to different positions, I would think that there is something dictating the positioning of the different elements. You don't think that there is a resource file that Springboard uses to determine what to display and how to display it?

    I haven't actually tried breaking down Springboard like I've read about in different posts. Maybe doing that will give me a little more insight.

  4. #4
    Developer NetMage's Avatar
    Join Date
    Aug 2007
    Location
    Virginia
    Posts
    1,296
    Thanks
    72
    Thanked 210 Times in 168 Posts

    The plist file for SpringBoard that Customize modifies controls icon order and what to skip, but the SBIconClass key in the application's Info.plist tells SpringBoard to handle the Calendar.app icon specially.
    Hpwever, I think the details of font and placement for the day of week and date are part of the SpringBoard program.
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts