stack draw buton over canvas and hide it when drawing an image
[mandelbrot.git] / xulapp / chrome / mandelbrot / content / mandelbrot.xul
index 0ca532df4ff2f53648e0d2109c28a334882421d6..c6cd044c16d5005d7d90bf794be7575059633db5 100644 (file)
       </menu>
     </menubar>
   </toolbox>
-  <button id="drawButton" label="&fileDraw.label;" oncommand="drawImage();"/>
   <hbox flex="1" pack="center" align="center">
-    <html:canvas id="mbrotImage" width="300" height="300"></html:canvas>
+    <stack>
+      <html:canvas id="mbrotImage" width="300" height="300"></html:canvas>
+      <button id="drawButton" label="&fileDraw.label;" oncommand="drawImage();"/>
+    </stack>
   </hbox>
   <hbox pack="end" align="end">
     <description id="statusLabel"/>