зеркало из https://github.com/mozilla/pjs.git
Bug 57178: Make sure the menulist in the filepicker doesn't expand with long directory names. Requires adding "flex=1" to the text element of the menulist binding in modern. r=hyatt, a=ben.
This commit is contained in:
Родитель
d089df6135
Коммит
b596ed7001
|
@ -158,7 +158,7 @@
|
|||
|
||||
<xul:box class="menulist-text-box" autostretch="never">
|
||||
<xul:image class="menulist-icon-mid" inherits="src"/>
|
||||
<xul:text class="menulist-text-mid" inherits="disabled,value,crop,accesskey"/>
|
||||
<xul:text class="menulist-text-mid" inherits="disabled,value,crop,accesskey" flex="1"/>
|
||||
</xul:box>
|
||||
</xul:stack>
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
<box autostretch="never">
|
||||
<text value="&lookInMenuList.label;"/>
|
||||
<menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);">
|
||||
<menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="left">
|
||||
<menupopup id="lookInMenu"/>
|
||||
</menulist>
|
||||
<button value=".." onclick="goUp();"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче