Hi, sorry for the false alarm.
The reason the gradient didn't work well, was that I gave the stops a
"color" property instead of a "stop-color" one. oops...
now remove does seem to work. I don't know exactly what I changed but this
now seems to be working fine.
I have still something not really
On 12/13/2011 02:53 PM, omrihar wrote:
> I have created a group with several elements and added it to the main svg
> object.
> I am now trying to modify the group (i.e. remove it or its children from the
> svg and recreate it with different content) - however I am unable to remove
> the group.
> I
On 12/13/2011 03:42 PM, omrihar wrote:
> I'm not sure what's exactly going on, but I think I am either not getting
> something or there is a bug somewhere.
> I have a pretty simple SVG, in which I defined two gradients in the main
> section.
> I added one Rect which is in a group and which has o
I'm not sure what's exactly going on, but I think I am either not getting
something or there is a bug somewhere.
I have a pretty simple SVG, in which I defined two gradients in the main
section.
I added one Rect which is in a group and which has one of the gradients.
This works fine.
Now I have
I have created a group with several elements and added it to the main svg
object.
I am now trying to modify the group (i.e. remove it or its children from the
svg and recreate it with different content) - however I am unable to remove
the group.
I tried svg.remove(group) or group.removeAll(), but b
Thanks Marc!
All your comments are very clear and really helpful. And thank you for this
great contribution too :)
Omri
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Canvas-vs-SVG-tp7085735p7089104.html
Sent from the qooxdoo mailing list archive at Nabble.com.
-
On 12/12/2011 05:33 PM, omrihar wrote:
> an additional question if I may:
> 3. I would like to create a bounding box with small rectangles at the
> corners to indicate that the boxes are resizable. Is this done using
> svg.paint.Marker? I have been trying unsuccessfully to understand what
> marker
Hi Omri,
On 12/12/2011 05:04 PM, omrihar wrote:
> (I finally attached a listener to the
> "resize" event of the widget and set its height according to its custom
> width).
Sounds like a workable solution. :)
> 1. I managed to get the draggable behavior working without a problem which
> is grea
Hi Marc,
an additional question if I may:
3. I would like to create a bounding box with small rectangles at the
corners to indicate that the boxes are resizable. Is this done using
svg.paint.Marker? I have been trying unsuccessfully to understand what
markers are and how to use them.
Thanks agai
Thanks Marc,
The question was actually non-SVG related as I was simply trying to control
my own custom widget's properties (I finally attached a listener to the
"resize" event of the widget and set its height according to its custom
width).
I do have a few SVG related questions though:
1. I mana
On 12/12/2011 03:48 PM, omrihar wrote:
> The first problem I am having now is that I'm trying to control the size of
> the SVG inside the widget (or for that matter, of the entire widget). I want
> to have a specific width/height ratio which is converted from "physical"
> units (i.e. I call the
Yes, you understand correctly. I want to have rectangles of different colors
placed inside a large rectangle, and the user should be able to place them
around, and change their size, etc..
I've decided to try to do it using SVG. I'm writing a custom Widget to
implement this, with a child control sv
Hi Omri,
On 12/12/2011 01:04 PM, omrihar wrote:
> My question is this - I want to capture the mousedown, mousemove and mouseup
> events to create a new widget by dragging it across the canvas.
If I understand it right, you want to create new widgets (like a
window?) by "drawing" them on the scre
I am actually considering to do a much simpler thing by creating a Widget
with a Canvas layout, and simply placing other qx.ui.core.Widgets on it with
a background color and a border. This way I get all the events and am able
to have an easy control over what is going on.
My question is this - I w
Hi List,
I am about to start working on a widget which allows basically to place
rectangles of different types (represented by colors) on a Canvas, resize
these rectangles, delete them, etc...
I would also like the canvas area to have rulers similar to the ones
surrounding, e.g. an Inkscape docume
15 matches
Mail list logo