Bug 1352498 - Flex the labels of boxes that have Learn More links on them. r=mconley
This is to make sure that the text will wrap and not force the box to have its full width. These changes look to have gotten lost as part of the re-org in
bug 1335907.
MozReview-Commit-ID: EiTALg6dY7G
--- a/browser/components/preferences/in-content/advanced.xul
+++ b/browser/components/preferences/in-content/advanced.xul
@@ -101,31 +101,31 @@
#ifdef MOZ_TELEMETRY_REPORTING
<groupbox id="historyGroup" data-category="paneAdvanced" hidden="true">
<caption><label>&reports.label;</label></caption>
<vbox>
<caption>
<checkbox id="submitHealthReportBox" label="&enableHealthReport.label;"
accesskey="&enableHealthReport.accesskey;"/>
</caption>
- <hbox class="indent">
- <label>&healthReportDesc.label;</label>
- <label id="FHRLearnMore"
+ <hbox class="indent" flex="1">
+ <label flex="1">&healthReportDesc.label;</label>
+ <label id="FHRLearnMore" flex="1"
class="learnMore text-link">&healthReportLearnMore.label;</label>
</hbox>
<hbox class="indent">
<groupbox flex="1">
<caption>
<checkbox id="submitTelemetryBox" preference="toolkit.telemetry.enabled"
label="&enableTelemetryData.label;"
accesskey="&enableTelemetryData.accesskey;"/>
</caption>
- <hbox class="indent">
- <label id="telemetryDataDesc">&telemetryDesc.label;</label>
- <label id="telemetryLearnMore"
+ <hbox class="indent" flex="1">
+ <label id="telemetryDataDesc" flex="1">&telemetryDesc.label;</label>
+ <label id="telemetryLearnMore" flex="1"
class="learnMore text-link">&telemetryLearnMore.label;</label>
</hbox>
</groupbox>
</hbox>
</vbox>
</groupbox>
#endif
@@ -133,17 +133,17 @@
#ifdef MOZ_CRASHREPORTER
<groupbox data-category="paneAdvanced" hidden="true">
<caption>
<checkbox id="automaticallySubmitCrashesBox"
preference="browser.crashReports.unsubmittedCheck.autoSubmit"
label="&alwaysSubmitCrashReports.label;"
accesskey="&alwaysSubmitCrashReports.accesskey;"/>
</caption>
- <hbox class="indent">
- <label>&crashReporterDesc2.label;</label>
- <label id="crashReporterLearnMore"
+ <hbox class="indent" flex="1">
+ <label flex="1">&crashReporterDesc2.label;</label>
+ <label id="crashReporterLearnMore" flex="1"
class="learnMore text-link">&crashReporterLearnMore.label;</label>
</hbox>
</groupbox>
#endif
#endif
\ No newline at end of file