projects
/
mandelbrot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove a few flex value to make labels and textboxes not be vertically stretched
[mandelbrot.git]
/
xulapp
/
chrome
/
mandelbrot
/
content
/
image-settings.xul
diff --git
a/xulapp/chrome/mandelbrot/content/image-settings.xul
b/xulapp/chrome/mandelbrot/content/image-settings.xul
index c4c609222702b36f5d63dc173deac99286ab6026..3fc332f3ef8845d6a0cf237beb7d12b5b837eafb 100644
(file)
--- a/
xulapp/chrome/mandelbrot/content/image-settings.xul
+++ b/
xulapp/chrome/mandelbrot/content/image-settings.xul
@@
-69,12
+69,14
@@
type="string"/>
<preference id="mandelbrot.last_image.Ci_max" name="mandelbrot.last_image.Ci_max"
type="string"/>
type="string"/>
<preference id="mandelbrot.last_image.Ci_max" name="mandelbrot.last_image.Ci_max"
type="string"/>
+ <preference id="mandelbrot.syncProportions" name="mandelbrot.syncProportions"
+ type="bool"/>
</preferences>
<groupbox>
<caption label="&coord.title;"/>
<description value="&coord.real.label;"/>
</preferences>
<groupbox>
<caption label="&coord.title;"/>
<description value="&coord.real.label;"/>
- <hbox
flex="1"
>
+ <hbox>
<label value="&coord.min.label;" control="Cr_min"/>
<textbox id="Cr_min" size="10"
preference="mandelbrot.last_image.Cr_min"
<label value="&coord.min.label;" control="Cr_min"/>
<textbox id="Cr_min" size="10"
preference="mandelbrot.last_image.Cr_min"
@@
-88,7
+90,7
@@
onchange="recalcCoord('Cr', 'max');"/>
</hbox>
<description value="&coord.imag.label;"/>
onchange="recalcCoord('Cr', 'max');"/>
</hbox>
<description value="&coord.imag.label;"/>
- <hbox
flex="1"
>
+ <hbox>
<label value="&coord.min.label;" control="Ci_min"/>
<textbox id="Ci_min" size="10"
preference="mandelbrot.last_image.Ci_min"
<label value="&coord.min.label;" control="Ci_min"/>
<textbox id="Ci_min" size="10"
preference="mandelbrot.last_image.Ci_min"
@@
-106,15
+108,17
@@
<hbox flex="1">
<groupbox>
<caption label="&img.size.title;"/>
<hbox flex="1">
<groupbox>
<caption label="&img.size.title;"/>
- <hbox
flex="1"
>
+ <hbox>
<label value="&img.width.label;" control="imgWidth"/>
<textbox id="imgWidth" size="4"
<label value="&img.width.label;" control="imgWidth"/>
<textbox id="imgWidth" size="4"
- preference="mandelbrot.image.width"/>
+ preference="mandelbrot.image.width"
+ onchange="recalcCoord('Ci', 'scale');"/>
</hbox>
</hbox>
- <hbox
flex="1"
>
+ <hbox>
<label value="&img.height.label;" control="imgHeight"/>
<textbox id="imgHeight" size="4"
<label value="&img.height.label;" control="imgHeight"/>
<textbox id="imgHeight" size="4"
- preference="mandelbrot.image.height"/>
+ preference="mandelbrot.image.height"
+ onchange="recalcCoord('Cr', 'scale');"/>
</hbox>
</groupbox>
</hbox>
</groupbox>
@@
-125,6
+129,16
@@
</hbox>
<button id="previewButton" label="&previewDraw.label;" oncommand="drawPreview();"/>
</groupbox>
</hbox>
<button id="previewButton" label="&previewDraw.label;" oncommand="drawPreview();"/>
</groupbox>
+
+ <groupbox>
+ <caption label="&options.title;"/>
+ <hbox>
+ <checkbox id="syncProp"
+ preference="mandelbrot.syncProportions"
+ onclick="checkProportions();"/>
+ <label value="&syncProp.label;" control="syncProp"/>
+ </hbox>
+ </groupbox>
</hbox>
</prefpane>
</prefwindow>
</hbox>
</prefpane>
</prefwindow>