mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 13:54:27 +00:00
For bug #43658. Modifies dialog overlays to have proper buttons on MacOS. Also modified other platforms to allow for specially-styled dialog buttons. r=hangas
This commit is contained in:
parent
7dc6b8713f
commit
84255770e7
@ -11,18 +11,18 @@
|
|||||||
|
|
||||||
<box id="okCancelButtons" align="horizontal">
|
<box id="okCancelButtons" align="horizontal">
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
<button class="dialog" id="Button3" value="&cancelButton.label;" hidden="true" oncommand="doButton3();"/>
|
<button class="exit-dialog" id="Button3" value="" hidden="true" oncommand="doButton3();"/>
|
||||||
<button class="dialog" id="Button2" value="&cancelButton.label;" hidden="true" oncommand="doButton2();"/>
|
<button class="exit-dialog" id="Button2" value="" hidden="true" oncommand="doButton2();"/>
|
||||||
<button class="dialog" id="cancel" value="&cancelButton.label;" oncommand="doCancelButton();"/>
|
<button class="exit-dialog" id="cancel" value="&cancelButton.label;" oncommand="doCancelButton();"/>
|
||||||
<button class="dialog right" id="ok" default="true" value="&okButton.label;" oncommand="doOKButton();"/>
|
<button class="right exit-dialog" id="ok" default="true" value="&okButton.label;" oncommand="doOKButton();"/>
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
<box id="okCancelButtonsRight" align="horizontal">
|
<box id="okCancelButtonsRight" align="horizontal">
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
<button class="dialog" id="Button3" value="&cancelButton.label;" hidden="true" oncommand="doButton3();"/>
|
<button class="exit-dialog" id="Button3" value="" hidden="true" oncommand="doButton3();"/>
|
||||||
<button class="dialog" id="Button2" value="&cancelButton.label;" hidden="true" oncommand="doButton2();"/>
|
<button class="exit-dialog" id="Button2" value="" hidden="true" oncommand="doButton2();"/>
|
||||||
<button class="dialog" id="cancel" value="&cancelButton.label;" oncommand="doCancelButton();"/>
|
<button class="exit-dialog" id="cancel" value="&cancelButton.label;" oncommand="doCancelButton();"/>
|
||||||
<button class="dialog right" id="ok" default="true" value="&okButton.label;" oncommand="doOKButton();"/>
|
<button class="right exit-dialog" id="ok" default="true" value="&okButton.label;" oncommand="doOKButton();"/>
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
<keyset id="keyset">
|
<keyset id="keyset">
|
||||||
|
@ -11,19 +11,19 @@
|
|||||||
|
|
||||||
<box id="okCancelButtons" align="horizontal">
|
<box id="okCancelButtons" align="horizontal">
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
<button class="right dialog" id="ok" value="&okButton.label;" default="true" onclick="doOKButton()"/>
|
<button class="right exit-dialog" id="ok" value="&okButton.label;" default="true" onclick="doOKButton()"/>
|
||||||
<button class="dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/>
|
<button class="exit-dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/>
|
||||||
<button class="dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/>
|
<button class="exit-dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/>
|
||||||
<button class="dialog" id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
|
<button class="exit-dialog" id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
<box id="okCancelButtonsRight" align="horizontal">
|
<box id="okCancelButtonsRight" align="horizontal">
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
<button class="right dialog" id="ok" value="&okButton.label;" default="true" onclick="doOKButton()"/>
|
<button class="right exit-dialog" id="ok" value="&okButton.label;" default="true" onclick="doOKButton()"/>
|
||||||
<button class="dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/>
|
<button class="exit-dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/>
|
||||||
<button class="dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/>
|
<button class="exit-dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/>
|
||||||
<button class="dialog" id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
|
<button class="exit-dialog" id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
|
@ -11,19 +11,19 @@
|
|||||||
|
|
||||||
<box id="okCancelButtons">
|
<box id="okCancelButtons">
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
<button class="right dialog" id="ok" value="&okButton.label;" default="true" onclick="doOKButton()"/>
|
<button class="right exit-dialog" id="ok" value="&okButton.label;" default="true" onclick="doOKButton()"/>
|
||||||
<button class="dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/>
|
<button class="exit-dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/>
|
||||||
<button class="dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/>
|
<button class="exit-dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/>
|
||||||
<button class="dialog" id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
|
<button class="exit-dialog" id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
<box id="okCancelButtonsRight" halign="right">
|
<box id="okCancelButtonsRight" halign="right">
|
||||||
<spring flex="1"/>
|
<spring flex="1"/>
|
||||||
<button class="right dialog" id="ok" value="&okButton.label;" default="true" onclick="doOKButton()"/>
|
<button class="right exit-dialog" id="ok" value="&okButton.label;" default="true" onclick="doOKButton()"/>
|
||||||
<button class="dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/>
|
<button class="exit-dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/>
|
||||||
<button class="dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/>
|
<button class="exit-dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/>
|
||||||
<button class="dialog" id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
|
<button class="exit-dialog" id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
<keyset id="keyset">
|
<keyset id="keyset">
|
||||||
|
Loading…
Reference in New Issue
Block a user