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:
bryner%uiuc.edu 2000-11-03 08:27:52 +00:00
parent c355d8c8d2
commit fa47af5c3b
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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();"/>