Searchable Bar Layout Problem

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Searchable Bar Layout Problem

Postby robert » Wed Feb 22, 2012 3:34 pm

I am using a Searchable Bar in my application and have customized it because I don't want to show the highlight button:
Code: Select all
searchBar.setVisibleButtons(searchBar.SHOW_CLOSE | searchBar.SHOW_NAVIGATION | searchBar.SHOW_MATCHCASE);


However, when I do this, the layout of the bar gets messed up. The "Find" label and each button is larger than it should be:
Image

When I comment out the above code, the bar is displayed properly:
Image

Is this a bug, or is there some way to correct this.

Thanks
robert
 
Posts: 41
Joined: Thu Apr 03, 2008 6:56 am

Re: Searchable Bar Layout Problem

Postby JIDE Support » Wed Feb 22, 2012 4:03 pm

Please also add SearchableBar because that's the component which stretches to keep the right layout when there are more horizontal spaces.

Code: Select all
searchableBar.setVisibleButtons(SearchableBar.SHOW_CLOSE | SearchableBar.SHOW_NAVIGATION | SearchableBar.SHOW_MATCHCASE| SearchableBar.SHOW_STATUS);
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: Searchable Bar Layout Problem

Postby robert » Wed Feb 22, 2012 5:37 pm

Thanks for the solution. It works well now.
robert
 
Posts: 41
Joined: Thu Apr 03, 2008 6:56 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 13 guests