Pointui » Home 2 Themes Showcase

Hidden Search Button in active theme

(13 posts)
  • Started 11 months ago by ABCDEFGabcdefg
  • Latest reply from leelou
  1. ABCDEFGabcdefg
    Member

    Since the release of PointUI 2.0.28b I've read that a few people had some problems with the Search button. This is caused by the fact that PointUI now has a fallback mechanism when loading images.

    For applets it first looks in the current applet folder, then the active theme folder, and then the default theme folder.

    Maybe it also checks for a common image folder in the AppletRibbon folder, but I don't know that, my feeling tells me that it doesn't, but maybe somebody else can shed some light on this.

    For themes offcourse just the active theme folder, followed by the default theme folder.

    This results in the following change of behavior. In previous PointUI versions if you removed a file from the theme folder, the icon just would not show. If you now remove it, it searches the default theme folder, which in 99% of the cases does contain the removed image(s) and does display the image.

    To 'fix' this behavior you just need to add a transparent gif to the theme, rename it to the file you don't want the fallback mechanism to work for and voila you're set. Following this, I added a zip file containing the transparent jif files to remove the search button from your active theme. Just copy the contents of the zip file to your active theme folder, perhaps even overwrite existing files when that is needed.

    Please note, the developers added this behavior so that applets can share image resources via a theme, which is an excellent addition! This A) results in less memory usage by applets (common images aren't redundantly stored on your device anymore), B) results in 100% matching look and feel for different applets and C) results in applets that can auto-adapt to the look and feel of the current theme!

    In case of SonnarUI, have 1 SonnarUI theme that contains the "Background.jif" that is shared amongst several applets, and have all applets use that. If for instance Mnml.UI or Amane.UI also create theme's with "Background.jif" in it, when switching to this theme the applet's automaticly use the 'new' "Background.jif" and have a dynamic but consistent look amongst applets! Can you see the massive potential in this feature? ;-) I do!

    Anyway, I've added the 'hidden' search button as a zipfile, and a 1x1 transparent file in the second zip file for theme creators to use.

    Attachments

    1. Transparant.zip (0.1 KB, 337 downloads) 11 months old
    2. Remove_Search_Button.zip (0.7 KB, 500 downloads) 11 months old
    Posted 11 months ago #
  2. ABCDEFGabcdefg,
    I guess no one thank you for this smartness but I will do!

    You saved my time with these files.

    I wish instead of "a" search button, we could have extra four buttons there.

    Cheers

    Posted 11 months ago #
  3. hellbender
    Member

    Sorry, I linked your post in one of my themes too but forgot to thank you.

    A big thank you pal.

    Posted 11 months ago #
  4. jyemenai
    Member

    Thank you sooooo much!!!! :)

    Posted 11 months ago #
  5. ABCDEFGabcdefg
    Member

    No thanks needed! :-)

    Posted 11 months ago #
  6. kraybillm
    Member

    Greatly appreciated, thank you!!

    Posted 11 months ago #
  7. ominaluv
    Member

    Thank you!!!!

    Posted 10 months ago #
  8. damienloh
    Member

    I managed to get rid of search box. However the 4 buttons do not align properly. Can someone please explain to me how to? Thanks.

    Posted 10 months ago #
  9. damienloh
    Member

    duplicate post

    Posted 10 months ago #
  10. set the navigation button to valign bottom instead of center align.

    go to menu > customize .. it's there.

    Posted 10 months ago #
  11. robert53850
    Member

    thank you~~

    Posted 10 months ago #
  12. lynnman2007
    Member

    very much thanks

    Posted 10 months ago #
  13. leelou
    Member

    How can we change search bar for this 5 icons??

    Thanks.

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.