Jump to content

Pref bundle icons showing up larger then all other settings icons.


Go to solution Solved by i0s_tweak3r,

5 posts in this topic

Recommended Posts

Posted (edited)

For some reason every tweak I've made with a pref bundle has oversized images in the settings cell, compared to other tweaks. I was told the images in my resources section were 32x32 for @2x and 16x16 for regular image.  The image for the mega run tweak I took right from the .app folder, the other was made by a forum member.

They show up oversized on my 6s+ as well as on smaller screens, like my iphone 5.  A couple images are nearly exact size as the image included in iOSGods patcher template, as far as file size.   The iG icon shows up normal size on the tweak I made and installed using the template img.

Any ideas for what's causing this? Were the pixels maybe not 16x16 and 32x32 like recommended?  I don't have any image editing software to check pixel size.

IMG_7054.png IMG_7052.png IMG_7053.png

Updated by i0s_tweak3r
Posted

It seems like for the preference pane, you're only using the @2x NoLockScreen image.

Posted

You should edit your entry.plist and point it to the other .png file.

Posted
1 hour ago, DiDA said:

You should edit your entry.plist and point it to the other .png file.

I checked both the MegaRun tweak and LS Suite and both entry.plists just pointed to the .png and not the @2x  image.  Here's from the LS one:

<key>entry</key>
  <dict>
    <key>bundle</key>
    <string>LockscreenSuite</string>
    <key>cell</key>
    <string>PSLinkCell</string>
    <key>detail</key>
    <string>LockscreenSuiteListController</string>
    <key>icon</key>
    <string>LockscreenSuite.png</string>
    <key>isController</key>
    <string>1</string>
    <key>label</key>
    <string>LockscreenSuite</string>

  • Solution
Posted

I just realized if you view images in the bottom of Filza, it will display the dimensions in pixels.  Several of the 2x icons aren't 32x32, but 152x152, which I think is the size being displayed. I haven't edited them but I'm guessing that is the problem.  

Also when I looked at the iG icons in Filza (from the patcher nic template),   they are 50x50 for reg icon and 58x58 for @2x.      (I thought 16x16 and 32x32 were correct specs, as that's what I read previously in the tutorial on here for adding icons to pref bundles.) The iG icons seem to display around the same size as most other tweaks though.

I got an app to resize images by pixel so I'll play around with it and should be able to solve this. I'll read up on the subject as well to see what ideally the specs should be.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines