Bug 558877 - In portrait mode you can see more awesmebar results, so let's show more [r=vingtetun]

This commit is contained in:
Mark Finkle 2010-04-12 23:38:42 -04:00
parent 1c3d87d316
commit ab597186cb
2 changed files with 14 additions and 2 deletions

View File

@ -245,7 +245,7 @@ pref("browser.urlbar.autoFill", false);
pref("browser.urlbar.matchOnlyTyped", false); pref("browser.urlbar.matchOnlyTyped", false);
pref("browser.urlbar.matchBehavior", 1); pref("browser.urlbar.matchBehavior", 1);
pref("browser.urlbar.filter.javascript", true); pref("browser.urlbar.filter.javascript", true);
pref("browser.urlbar.maxRichResults", 12); pref("browser.urlbar.maxRichResults", 24); // increased so we see more results when portrait
pref("browser.urlbar.search.chunkSize", 1000); pref("browser.urlbar.search.chunkSize", 1000);
pref("browser.urlbar.search.timeout", 100); pref("browser.urlbar.search.timeout", 100);
pref("browser.urlbar.restrict.history", "^"); pref("browser.urlbar.restrict.history", "^");

View File

@ -57,7 +57,7 @@
<binding id="popup_autocomplete"> <binding id="popup_autocomplete">
<content> <content>
<xul:vbox class="autocomplete-box" flex="1"> <xul:vbox class="autocomplete-box" flex="1">
<!-- 12 child items, to match browser.urlbar.maxRichResults --> <!-- 24 child items, to match browser.urlbar.maxRichResults -->
<xul:scrollbox orient="vertical" <xul:scrollbox orient="vertical"
class="autocomplete-items" class="autocomplete-items"
anonid="autocomplete-items" anonid="autocomplete-items"
@ -77,6 +77,18 @@
<xul:autocompleteresult/> <xul:autocompleteresult/>
<xul:autocompleteresult/> <xul:autocompleteresult/>
<xul:autocompleteresult/> <xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
<xul:autocompleteresult/>
</xul:scrollbox> </xul:scrollbox>
<children/> <children/>
</xul:vbox> </xul:vbox>