mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
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:
parent
c355d8c8d2
commit
fa47af5c3b
@ -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();"/>
|
||||
|
Loading…
Reference in New Issue
Block a user