Skip to content

Commit

Permalink
Merge pull request #228 from scrock1987/hotfix-agency-client-screen-b…
Browse files Browse the repository at this point in the history
…ottom-white-space-4553

On the agency client screen bottom white space is added
  • Loading branch information
Ruan Naude committed Dec 17, 2013
2 parents 935fbb3 + 7d60214 commit b4e7843
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/org/ssgwt/client/ui/searchbox/SearchBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,8 @@
.noResultText {
text-align: center;
color: #999999;
}

.dropDownPopUpContainer {
overflow: hidden !important;
}
12 changes: 12 additions & 0 deletions src/org/ssgwt/client/ui/searchbox/SearchBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,15 @@ public interface Style extends CssResource {
* @return The name of the compiled style
*/
String noResultText();

/**
* The style for the dropDownPopUpContainer with hidden overflow field.
*
* @author saurabh <[email protected]>
*
* @return The name of the compiled style
*/
String dropDownPopUpContainer();

}

Expand Down Expand Up @@ -408,11 +417,14 @@ public void run() {
* Creates the drop down that displays the search results
*
* @author Johannes Gryffenberg <[email protected]>
* @author saurabh <[email protected]>
* @since 22 January 2013
*/
private void createDropDownPopup() {
if (dropDownPopup == null) {
dropDownPopup = new SearchBoxDropDown(resources);
//setting popup dropdown style overflow to hidden
dropDownPopup.setStyleName(this.resources.searchBoxStyle().dropDownPopUpContainer());
dropDownPopup.setPopupPosition(this.getAbsoluteLeft(), this.getAbsoluteTop() + this.getOffsetHeight());
dropDownPopup.setWidth(this.getOffsetWidth() + "px");
dropDownPopup.show();
Expand Down

0 comments on commit b4e7843

Please sign in to comment.