bug 309140 - fix help button placement under UNIX (GNOME), also fix a border issue on the home page field in the prefwindow, r=mano

This commit is contained in:
mconnor%steelgryphon.com 2005-09-26 03:27:51 +00:00
parent 42c52692a5
commit ac1fbf7024
3 changed files with 7 additions and 3 deletions

View File

@ -91,6 +91,7 @@ radio[pane=paneAdvanced]:hover, radio[pane=paneAdvanced][selected="true"] {
padding-bottom: 3px;
-moz-padding-start: 4px;
-moz-padding-end: 2px;
background-color: -moz-Dialog;
}
/* File Field Widget */

View File

@ -478,18 +478,20 @@
<children includes="prefpane"/>
</xul:deck>
</xul:hbox>
<xul:hbox anonid="dlg-buttons" class="prefWindow-dlgbuttons" pack="end">
<xul:hbox anonid="dlg-buttons" class="prefWindow-dlgbuttons"
#ifdef XP_UNIX
>
<xul:button dlgtype="disclosure" class="dialog-button" hidden="true"/>
<xul:button dlgtype="help" class="dialog-button" hidden="true" icon="help"/>
<xul:button dlgtype="extra2" class="dialog-button" hidden="true"/>
<xul:button dlgtype="extra1" class="dialog-button" hidden="true"/>
<xul:spacer anonid="spacer" flex="1" hidden="true"/>
<xul:spacer anonid="spacer" flex="1"/>
<xul:button dlgtype="cancel" class="dialog-button" icon="cancel"/>
<xul:button dlgtype="accept" class="dialog-button" icon="accept"/>
#else
pack="end">
<xul:button dlgtype="extra2" class="dialog-button" hidden="true"/>
<xul:spacer anonid="spacer" flex="1" hidden="true"/>
<xul:spacer anonid="spacer" flex="1"/>
<xul:button dlgtype="accept" class="dialog-button" icon="accept"/>
<xul:button dlgtype="extra1" class="dialog-button" hidden="true"/>
<xul:button dlgtype="cancel" class="dialog-button" icon="cancel"/>

View File

@ -67,6 +67,7 @@ prefwindow[type="child"] > prefpane {
.prefWindow-dlgbuttons {
padding-bottom: 10px;
-moz-padding-start: 8px;
-moz-padding-end: 10px;
}