+
+ <hbox flex="1">
+ <groupbox>
+ <caption label="&img.size.title;"/>
+ <hbox flex="1">
+ <label value="&img.width.label;" control="imgWidth"/>
+ <textbox id="imgWidth" size="4"
+ preference="mandelbrot.image.width"/>
+ </hbox>
+ <hbox flex="1">
+ <label value="&img.height.label;" control="imgHeight"/>
+ <textbox id="imgHeight" size="4"
+ preference="mandelbrot.image.height"/>
+ </hbox>
+ </groupbox>
+
+ <groupbox>
+ <caption label="&preview.title;"/>
+ <hbox flex="1" pack="center" align="center">
+ <html:canvas id="mbrotPreview" width="50" height="50"></html:canvas>
+ </hbox>
+ <button id="previewButton" label="&previewDraw.label;" oncommand="drawPreview();"/>
+ </groupbox>
+ </hbox>