Bug 593796: Status messages should be able to line wrap. r=Unfocused, a=blocking-final

This commit is contained in:
Dave Townsend 2010-09-13 10:45:25 -07:00
parent 8afe85ef5b
commit c59b11e8b2

View File

@ -254,24 +254,28 @@
tooltiptext="&search.filter2.available.tooltip;"/> tooltiptext="&search.filter2.available.tooltip;"/>
</radiogroup> </radiogroup>
</hbox> </hbox>
<hbox class="view-header global-warning-container"> <hbox class="view-header global-warning-container" align="center">
<!-- global warnings --> <!-- global warnings -->
<hbox class="global-warning"> <hbox class="global-warning" flex="1">
<image class="warning-icon"/> <image class="warning-icon"/>
<label class="global-warning-safemode" <label class="global-warning-safemode" flex="1">
value="&warning.safemode.label;"/> &warning.safemode.label;
<label class="global-warning-checkcompatibility" </label>
value="&warning.checkcompatibility.label;"/> <label class="global-warning-checkcompatibility" flex="1">
&warning.checkcompatibility.label;
</label>
<button class="button-link global-warning-checkcompatibility" <button class="button-link global-warning-checkcompatibility"
label="&warning.checkcompatibility.enable.label;" label="&warning.checkcompatibility.enable.label;"
tooltiptext="&warning.checkcompatibility.enable.tooltip;" tooltiptext="&warning.checkcompatibility.enable.tooltip;"
command="cmd_enableCheckCompatibility"/> command="cmd_enableCheckCompatibility"/>
<label class="global-warning-updatesecurity" <label class="global-warning-updatesecurity" flex="1">
value="&warning.updatesecurity.label;"/> &warning.updatesecurity.label;
</label>
<button class="button-link global-warning-updatesecurity" <button class="button-link global-warning-updatesecurity"
label="&warning.updatesecurity.enable.label;" label="&warning.updatesecurity.enable.label;"
tooltiptext="&warning.updatesecurity.enable.tooltip;" tooltiptext="&warning.updatesecurity.enable.tooltip;"
command="cmd_enableUpdateSecurity"/> command="cmd_enableUpdateSecurity"/>
<spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
</hbox> </hbox>
<spacer flex="1"/> <spacer flex="1"/>
<hbox id="search-sorters" class="sort-controls" <hbox id="search-sorters" class="sort-controls"
@ -294,24 +298,28 @@
<!-- list view --> <!-- list view -->
<vbox id="list-view" flex="1" class="view-pane"> <vbox id="list-view" flex="1" class="view-pane">
<hbox class="view-header global-warning-container"> <hbox class="view-header global-warning-container" align="center">
<!-- global warnings --> <!-- global warnings -->
<hbox class="global-warning"> <hbox class="global-warning" flex="1">
<image class="warning-icon"/> <image class="warning-icon"/>
<label class="global-warning-safemode" <label class="global-warning-safemode" flex="1">
value="&warning.safemode.label;"/> &warning.safemode.label;
<label class="global-warning-checkcompatibility" </label>
value="&warning.checkcompatibility.label;"/> <label class="global-warning-checkcompatibility" flex="1">
&warning.checkcompatibility.label;
</label>
<button class="button-link global-warning-checkcompatibility" <button class="button-link global-warning-checkcompatibility"
label="&warning.checkcompatibility.enable.label;" label="&warning.checkcompatibility.enable.label;"
tooltiptext="&warning.checkcompatibility.enable.tooltip;" tooltiptext="&warning.checkcompatibility.enable.tooltip;"
command="cmd_enableCheckCompatibility"/> command="cmd_enableCheckCompatibility"/>
<label class="global-warning-updatesecurity" <label class="global-warning-updatesecurity" flex="1">
value="&warning.updatesecurity.label;"/> &warning.updatesecurity.label;
</label>
<button class="button-link global-warning-updatesecurity" <button class="button-link global-warning-updatesecurity"
label="&warning.updatesecurity.enable.label;" label="&warning.updatesecurity.enable.label;"
tooltiptext="&warning.updatesecurity.enable.tooltip;" tooltiptext="&warning.updatesecurity.enable.tooltip;"
command="cmd_enableUpdateSecurity"/> command="cmd_enableUpdateSecurity"/>
<spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
</hbox> </hbox>
<spacer flex="1"/> <spacer flex="1"/>
<hbox id="list-sorters" class="sort-controls" sortby="name" <hbox id="list-sorters" class="sort-controls" sortby="name"
@ -330,24 +338,28 @@
<!-- updates view --> <!-- updates view -->
<vbox id="updates-view" flex="1" class="view-pane"> <vbox id="updates-view" flex="1" class="view-pane">
<hbox class="view-header global-warning-container"> <hbox class="view-header global-warning-container" align="center">
<!-- global warnings --> <!-- global warnings -->
<hbox class="global-warning"> <hbox class="global-warning" flex="1">
<image class="warning-icon"/> <image class="warning-icon"/>
<label class="global-warning-safemode" <label class="global-warning-safemode" flex="1">
value="&warning.safemode.label;"/> &warning.safemode.label;
<label class="global-warning-checkcompatibility" </label>
value="&warning.checkcompatibility.label;"/> <label class="global-warning-checkcompatibility" flex="1">
&warning.checkcompatibility.label;
</label>
<button class="button-link global-warning-checkcompatibility" <button class="button-link global-warning-checkcompatibility"
label="&warning.checkcompatibility.enable.label;" label="&warning.checkcompatibility.enable.label;"
tooltiptext="&warning.checkcompatibility.enable.tooltip;" tooltiptext="&warning.checkcompatibility.enable.tooltip;"
command="cmd_enableCheckCompatibility"/> command="cmd_enableCheckCompatibility"/>
<label class="global-warning-updatesecurity" <label class="global-warning-updatesecurity" flex="1">
value="&warning.updatesecurity.label;"/> &warning.updatesecurity.label;
</label>
<button class="button-link global-warning-updatesecurity" <button class="button-link global-warning-updatesecurity"
label="&warning.updatesecurity.enable.label;" label="&warning.updatesecurity.enable.label;"
tooltiptext="&warning.updatesecurity.enable.tooltip;" tooltiptext="&warning.updatesecurity.enable.tooltip;"
command="cmd_enableUpdateSecurity"/> command="cmd_enableUpdateSecurity"/>
<spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
</hbox> </hbox>
<spacer flex="1"/> <spacer flex="1"/>
<hbox id="updates-sorters" class="sort-controls" sortby="dateUpdated" <hbox id="updates-sorters" class="sort-controls" sortby="dateUpdated"
@ -373,22 +385,26 @@
<!-- detail view --> <!-- detail view -->
<vbox id="detail-view" flex="1" class="view-pane"> <vbox id="detail-view" flex="1" class="view-pane">
<!-- global warnings --> <!-- global warnings -->
<hbox class="global-warning-container global-warning" pack="start"> <hbox class="global-warning-container global-warning">
<image class="warning-icon"/> <image class="warning-icon"/>
<label class="global-warning-safemode" <label class="global-warning-safemode" flex="1">
value="&warning.safemode.label;"/> &warning.safemode.label;
<label class="global-warning-checkcompatibility" </label>
value="&warning.checkcompatibility.label;"/> <label class="global-warning-checkcompatibility" flex="1">
&warning.checkcompatibility.label;
</label>
<button class="button-link global-warning-checkcompatibility" <button class="button-link global-warning-checkcompatibility"
label="&warning.checkcompatibility.enable.label;" label="&warning.checkcompatibility.enable.label;"
tooltiptext="&warning.checkcompatibility.enable.tooltip;" tooltiptext="&warning.checkcompatibility.enable.tooltip;"
command="cmd_enableCheckCompatibility"/> command="cmd_enableCheckCompatibility"/>
<label class="global-warning-updatesecurity" <label class="global-warning-updatesecurity" flex="1">
value="&warning.updatesecurity.label;"/> &warning.updatesecurity.label;
</label>
<button class="button-link global-warning-updatesecurity" <button class="button-link global-warning-updatesecurity"
label="&warning.updatesecurity.enable.label;" label="&warning.updatesecurity.enable.label;"
tooltiptext="&warning.updatesecurity.enable.tooltip;" tooltiptext="&warning.updatesecurity.enable.tooltip;"
command="cmd_enableUpdateSecurity"/> command="cmd_enableUpdateSecurity"/>
<spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
</hbox> </hbox>
<scrollbox flex="1" class="addon-view" orient="horizontal" pack="stretch" align="start"> <scrollbox flex="1" class="addon-view" orient="horizontal" pack="stretch" align="start">
<spacer flex="1"/> <spacer flex="1"/>