зеркало из https://github.com/mozilla/pjs.git
Fixed color picker buttons in dialogs, b=66417, r=blake, sr=sfraser
This commit is contained in:
Родитель
ee27bcb23f
Коммит
8d93e24dd8
|
@ -81,8 +81,9 @@
|
|||
<stack>
|
||||
<button id="TextButton" class="dialog color-button" onclick="GetColorAndUpdate('textCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="textCW" class="color-well"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
<data id="textData" pref="true" preftype="color" prefstring="editor.text_color" prefattribute="value" wsm_attributes="value"/>
|
||||
|
@ -92,8 +93,9 @@
|
|||
<stack>
|
||||
<button id="LinkButton" class="dialog color-button" onclick="GetColorAndUpdate('linkCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="linkCW" class="color-well"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
<data id="linkData" pref="true" preftype="color" prefstring="editor.link_color" prefattribute="value" wsm_attributes="value"/>
|
||||
|
@ -103,8 +105,9 @@
|
|||
<stack>
|
||||
<button id="ActiveLinkButton" class="dialog color-button" onclick="GetColorAndUpdate('activeCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="activeCW" class="color-well"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
<data id="aLinkData" pref="true" preftype="color" prefstring="editor.active_link_color" prefattribute="value" wsm_attributes="value"/>
|
||||
|
@ -114,8 +117,9 @@
|
|||
<stack>
|
||||
<button id="VisitedLinkButton" class="dialog color-button" onclick="GetColorAndUpdate('visitedCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="visitedCW" class="color-well"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
<data id="fLinkData" pref="true" preftype="color" prefstring="editor.followed_link_color" prefattribute="value" wsm_attributes="value"/>
|
||||
</stack>
|
||||
|
@ -125,8 +129,9 @@
|
|||
<stack>
|
||||
<button id="BackgroundButton" class="dialog color-button" onclick="GetColorAndUpdate('backgroundCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="backgroundCW" class="color-well"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
<data id="backgroundColorData" pref="true" preftype="color" prefstring="editor.background_color" prefattribute="value" wsm_attributes="value"/>
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
tooltip="aTooltip" tooltiptext="&customColorsRadio.tooltip;" />
|
||||
</radiogroup>
|
||||
<spring class="spacer"/>
|
||||
<box class="big-left-margin">
|
||||
<box class="big-left-margin" autostretch="never">
|
||||
<grid>
|
||||
<columns><column/><column/></columns>
|
||||
<rows>
|
||||
|
@ -66,9 +66,9 @@
|
|||
<stack>
|
||||
<button id="TextButton" class="dialog color-button" oncommand="GetColorAndUpdate('textCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="textCW" class="color-well"/>
|
||||
<image class="popup-trigger"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
</row>
|
||||
|
@ -77,9 +77,9 @@
|
|||
<stack>
|
||||
<button id="LinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('linkCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="linkCW" class="color-well"/>
|
||||
<image class="popup-trigger"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
</row>
|
||||
|
@ -88,9 +88,9 @@
|
|||
<stack>
|
||||
<button id="ActiveLinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('activeCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="activeCW" class="color-well"/>
|
||||
<image class="popup-trigger"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
</row>
|
||||
|
@ -99,9 +99,9 @@
|
|||
<stack>
|
||||
<button id="VisitedLinkButton" class="dialog color-button" oncommand="GetColorAndUpdate('visitedCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="visitedCW" class="color-well"/>
|
||||
<image class="popup-trigger"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
</row>
|
||||
|
@ -110,9 +110,9 @@
|
|||
<stack>
|
||||
<button id="BackgroundButton" class="dialog color-button" oncommand="GetColorAndUpdate('backgroundCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="backgroundCW" class="color-well"/>
|
||||
<image class="popup-trigger"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
</row>
|
||||
|
|
|
@ -127,11 +127,11 @@
|
|||
<box valign="middle" autostretch="never">
|
||||
<text class="label" value="&backgroundColor.label;"/>
|
||||
<stack>
|
||||
<button class="dialog color-button" oncommand="GetColorAndUpdate('tableBackgroundCW');" flex="1"/>
|
||||
<button class="dialog color-button" oncommand="GetColorAndUpdate('tableBackgroundCW');"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="tableBackgroundCW" class="color-well"/>
|
||||
<image class="popup-trigger"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
<spring class="spacer"/>
|
||||
|
@ -258,9 +258,9 @@
|
|||
<stack>
|
||||
<button class="dialog color-button" oncommand="GetColorAndUpdate('cellBackgroundCW');" flex="1"/>
|
||||
<box autostretch="never" valign="middle" mousethrough="always">
|
||||
<spring class="smallspacer"/>
|
||||
<spring flex="1"/>
|
||||
<spring id="cellBackgroundCW" class="color-well"/>
|
||||
<image class="popup-trigger"/>
|
||||
<spring flex="1"/>
|
||||
</box>
|
||||
</stack>
|
||||
<spring class="spacer"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче