From: Richard Fairhurst Date: Fri, 11 Jun 2010 10:05:38 +0000 (+0000) Subject: float toolbox on top X-Git-Tag: 0.5~416 X-Git-Url: https://git.openstreetmap.org/potlatch2.git/commitdiff_plain/f4d6c24c801b47c3c86d075e71ba347c8e3ba061 float toolbox on top --- diff --git a/TODO.txt b/TODO.txt index 23729957..43632c98 100644 --- a/TODO.txt +++ b/TODO.txt @@ -49,7 +49,6 @@ Potlatch 2: main outstanding issues ** Should remember which background imagery layer you had previously selected ** Background imagery layers should match those of p1 ** Dialog for adding custom imagery url -** Dragging a node under the toolbox and then mouseuping doesn't get passed to the map, so you end up with a node "stuck" to the pointer ** onDataComplete fires the first time a map call has returned - but multiple calls might have been made, so really we should count them and only reset dataWorking when it's back to 0 again * Mouse wheel zooming * CSS editing diff --git a/net/systemeD/potlatch2/Toolbox.as b/net/systemeD/potlatch2/Toolbox.as index 5f9a2aa9..1a36eee0 100644 --- a/net/systemeD/potlatch2/Toolbox.as +++ b/net/systemeD/potlatch2/Toolbox.as @@ -11,15 +11,14 @@ package net.systemeD.potlatch2 { Floating toolbox palette Still to do: - ** Should have a close box, and be able to be activated from the top bar + ** Should have close and minimise boxes, and be able to be activated from the top bar ** Should be automatically positioned at bottom-right of canvas on init - ** Should float above tagViewer, not beneath it ** Remove annoying Illustrator cruft from SVG icons! ** Tooltips */ - public class Toolbox extends Panel{ + public class Toolbox extends TitleWindow { private var entity:Entity; private var controller:EditController; diff --git a/potlatch2.mxml b/potlatch2.mxml index d4b257ca..b2ff679f 100755 --- a/potlatch2.mxml +++ b/potlatch2.mxml @@ -60,6 +60,7 @@ headerHeight="6" headerColors="[black, gray]" borderThicknessRight="0" borderThicknessLeft="0" borderThicknessBottom="0" paddingLeft="4" paddingTop="4" layout="horizontal" + includeInLayout="false" x="10" y="300">