Closed GoogleCodeExporter closed 9 years ago
To edit larger svg files (in terms of height and width) we need to add click
drag
canvas supprt. much similar to google map
Original comment by narendra.sisodiya
on 22 Jun 2009 at 2:13
I thought about simply changing the canvas size. User can scroll the canvas
element
in browser if it is larger than the current view.
Original comment by rusn...@gmail.com
on 22 Jun 2009 at 2:18
We can add dragging later (for example when implementing zoom support - see
issue#38).
Original comment by rusn...@gmail.com
on 22 Jun 2009 at 2:18
One option: Instead of the 'are you sure?' dialog when clicking 'New', have a
Create
New Drawing' dialog that asks for width/height (in pixels).
Original comment by codedr...@gmail.com
on 25 Jun 2009 at 4:41
Yesterday I implemented simple resolution chooser in footer, but had no
Internet
access so I couldn't commit it right away. I agree that dialog after clicking
New
has more sense ...
Original comment by rusn...@gmail.com
on 25 Jun 2009 at 8:32
What you've done for the resolution changing is ok for a starter but I see the
following problems with it:
- if you select 1024x768 and shrink your browser window, the SVG canvas actually
falls underneath the palette and tools
- if you select a large resolution, the palette is shoved down (possibly
offscreen)
This probably hints that the way we're laying things out is not appropriate for
variable resolutions. Ideally I would like to see:
1) the palette fixed to the bottom of the browser window (i.e. never offscreen)
2) the canvas is always next to the tools and above the palette
3) the canvas area is stretched in width/height to the full browser window (i.e.
stretch/shrink your window and the canvas area grows/shrinks)
4) the canvas area includes the SVG element which is vertically and horizontally
centered, the SVG element has white background and is sized according to the
user's
selection (640x480, 1024x768, etc)
5) the canvas area shows a grey area for 'outside the SVG' element
6) the canvas area (not the browser window) produces scrollbars if the SVG
element
cannot entirely fit into the stretched canvas area
Looks like I have to read up on CSS :)
Original comment by codedr...@gmail.com
on 26 Jun 2009 at 4:58
Ok, I closed out this issue with r215 - I used the new experimental layout from
the
svg-edit-layout branch since I did not receive any negative feedback on it.
Original comment by codedr...@gmail.com
on 28 Jun 2009 at 4:21
Original issue reported on code.google.com by
rusn...@gmail.com
on 22 Jun 2009 at 11:23