Bug 1475916 - Use em instead of px for list heights to keep font scaling into account. r=bgrins

MozReview-Commit-ID: FDMwrHg27ad

--HG--
extra : rebase_source : 66c957f2516e4cded7c6e73da5ea30080ab2d37b
This commit is contained in:
Paolo Amadini 2018-07-23 10:07:38 +01:00
parent 2e0358b999
commit 8adbeb4164
6 changed files with 15 additions and 3 deletions

View File

@ -49,7 +49,7 @@
</columns>
<rows>
<row flex="1">
<richlistbox id="activeLanguages" flex="1" height="200"
<richlistbox id="activeLanguages" flex="1"
seltype="multiple"
onselect="gLanguagesDialog.onLanguageSelect();"/>
<vbox>

View File

@ -209,6 +209,10 @@ button > hbox > label {
font-size: 90%;
}
#activeLanguages {
height: 16em;
}
#activeLanguages > richlistitem {
padding: 0.3em;
}

View File

@ -16,7 +16,7 @@
<vbox style="width: 24em;margin: 5px;">
<label id="info.txt"/>
<vbox>
<richlistbox id="list" class="theme-listbox" height="80"/>
<richlistbox id="list" class="theme-listbox" style="height: 8em;"/>
</vbox>
</vbox>
</dialog>

View File

@ -57,7 +57,7 @@
<separator flex="1"/>
<vbox flex="1">
<richlistbox id="profiles" class="theme-listbox" height="100" seltype="single"
<richlistbox id="profiles" class="theme-listbox" seltype="single"
ondblclick="onProfilesDblClick(event)"
onkeypress="onProfilesKey(event);">
</richlistbox>

View File

@ -14,3 +14,7 @@ box#managebuttons > button {
#managebuttons {
padding-top: 1em;
}
#profiles {
height: 12em;
}

View File

@ -14,3 +14,7 @@ box#managebuttons > button {
#managebuttons {
padding-top: 1em;
}
#profiles {
height: 12em;
}