mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
Dialogs fixed as part of Composer color button fix to bug 77873, fix by neil@parkwaycc.co.uk, r=cmanske, sr=hewitt
This commit is contained in:
parent
7a1b52ad6d
commit
55dac8640c
@ -66,21 +66,12 @@
|
||||
-->
|
||||
<spacer class="spacer"/>
|
||||
<vbox flex="1">
|
||||
<stack valign="middle" autostretch="never">
|
||||
<button id="LastPickedButton" class="dialog" label="&lastPickedColor.label;"
|
||||
style="margin-left:0px; margin-right: 0px;"
|
||||
oncommand="SelectLastPickedColor();"/>
|
||||
<hbox style="margin-left: 5px" mousethrough="always">
|
||||
<vbox autostretch="never">
|
||||
<spacer flex="1"/>
|
||||
<spacer id="LastPickedColor"
|
||||
LastTextColor="" LastBackgroundColor=""
|
||||
persist="LastTextColor LastBackgroundColor"/>
|
||||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</stack>
|
||||
<button id="LastPickedButton" crop="right" oncommand="SelectLastPickedColor();">
|
||||
<spacer id="LastPickedColor"
|
||||
LastTextColor="" LastBackgroundColor=""
|
||||
persist="LastTextColor LastBackgroundColor"/>
|
||||
<label value="&lastPickedColor.label;" flex="1" style="text-align: center;"/>
|
||||
</button>
|
||||
<text class="label" value="&setColor1.label;"/>
|
||||
<text class="label" value="&setColor2.label;"/>
|
||||
<text class="label" value="&setColorExample.label;"/>
|
||||
|
@ -61,58 +61,33 @@
|
||||
<rows>
|
||||
<row valign="middle" autostretch="never">
|
||||
<text class="label" id="Text" value="&normalText.label;&colon.character;" />
|
||||
<stack>
|
||||
<button id="TextButton" class="dialog color-button" oncommand="GetColorAndUpdate('textCW');"/>
|
||||
<hbox autostretch="never" valign="middle" mousethrough="always">
|
||||
<spacer flex="1"/>
|
||||
<spacer id="textCW" class="color-well"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</stack>
|
||||
<button id="TextButton" class="color-button" oncommand="GetColorAndUpdate('textCW');">
|
||||
<spacer id="textCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
<row valign="middle" autostretch="never">
|
||||
<text class="label" id="Link" value="&linkText.label;&colon.character;" />
|
||||
<stack>
|
||||
<button id="LinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('linkCW');"/>
|
||||
<hbox autostretch="never" valign="middle" mousethrough="always">
|
||||
<spacer flex="1"/>
|
||||
<spacer id="linkCW" class="color-well"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</stack>
|
||||
<button id="LinkButton" class="color-button" oncommand="GetColorAndUpdate('linkCW');">
|
||||
<spacer id="linkCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
<row valign="middle" autostretch="never">
|
||||
<text class="label" id="Active" value="&activeLinkText.label;&colon.character;" />
|
||||
<stack>
|
||||
<button id="ActiveLinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('activeCW');"/>
|
||||
<hbox autostretch="never" valign="middle" mousethrough="always">
|
||||
<spacer flex="1"/>
|
||||
<spacer id="activeCW" class="color-well"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</stack>
|
||||
<button id="ActiveLinkButton" class="color-button" oncommand="GetColorAndUpdate('activeCW');">
|
||||
<spacer id="activeCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
<row valign="middle" autostretch="never">
|
||||
<text class="label" id="Visited" value ="&visitedLinkText.label;&colon.character;" />
|
||||
<stack>
|
||||
<button id="VisitedLinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('visitedCW');"/>
|
||||
<hbox autostretch="never" valign="middle" mousethrough="always">
|
||||
<spacer flex="1"/>
|
||||
<spacer id="visitedCW" class="color-well"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</stack>
|
||||
<button id="VisitedLinkButton" class="color-button" oncommand="GetColorAndUpdate('visitedCW');">
|
||||
<spacer id="visitedCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
<row valign="middle" autostretch="never">
|
||||
<text class="label" id="Background" value="&background.label;" />
|
||||
<stack>
|
||||
<button id="BackgroundButton" class="dialog color-button" oncommand="GetColorAndUpdate('backgroundCW');"/>
|
||||
<hbox autostretch="never" valign="middle" mousethrough="always">
|
||||
<spacer flex="1"/>
|
||||
<spacer id="backgroundCW" class="color-well"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</stack>
|
||||
<button id="BackgroundButton" class="color-button" oncommand="GetColorAndUpdate('backgroundCW');">
|
||||
<spacer id="backgroundCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
@ -127,14 +127,9 @@
|
||||
<separator class="groove"/>
|
||||
<hbox valign="middle" autostretch="never">
|
||||
<text class="label" value="&backgroundColor.label;"/>
|
||||
<stack>
|
||||
<button class="dialog color-button" oncommand="GetColorAndUpdate('tableBackgroundCW');"/>
|
||||
<hbox autostretch="never" valign="middle" mousethrough="always">
|
||||
<spacer flex="1"/>
|
||||
<spacer id="tableBackgroundCW" class="color-well"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</stack>
|
||||
<button class="color-button" oncommand="GetColorAndUpdate('tableBackgroundCW');">
|
||||
<spacer id="tableBackgroundCW" class="color-well"/>
|
||||
</button>
|
||||
<spacer class="spacer"/>
|
||||
<text class="label" id="TableInheritColor" value="&tableInheritColor.label;" collapsed="true"/>
|
||||
</hbox>
|
||||
@ -244,14 +239,9 @@
|
||||
<separator class="groove"/>
|
||||
<hbox valign="middle" autostretch="never">
|
||||
<checkbox id="CellColorCheckbox" label="&backgroundColor.label;"/>
|
||||
<stack>
|
||||
<button class="dialog color-button" oncommand="GetColorAndUpdate('cellBackgroundCW');" flex="1"/>
|
||||
<hbox autostretch="never" valign="middle" mousethrough="always">
|
||||
<spacer flex="1"/>
|
||||
<spacer id="cellBackgroundCW" class="color-well"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</stack>
|
||||
<button class="color-button" oncommand="GetColorAndUpdate('cellBackgroundCW');">
|
||||
<spacer id="cellBackgroundCW" class="color-well"/>
|
||||
</button>
|
||||
<spacer class="spacer"/>
|
||||
<text class="label" id="CellInheritColor" value="&cellInheritColor.label;" collapsed="true"/>
|
||||
</hbox>
|
||||
|
Loading…
Reference in New Issue
Block a user