chenbo007 / svg-edit

Automatically exported from code.google.com/p/svg-edit
0 stars 0 forks source link

Optimize for lower resolutions (UMPC, ...) #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Option for alternative positions of toolbars:

[10:16] <wormsxulla> being able to switch the position of the horizontal / 
vertical toolbar
[10:17] <wormsxulla> so the one with the most icons become the horizontal 
one and the user would see all the icons :)
[10:17] <wormsxulla> and also move the palette at the top of the canvas :)

Original issue reported on code.google.com by rusn...@gmail.com on 23 Jun 2009 at 8:25

GoogleCodeExporter commented 9 years ago
Hm, this implies either configurable options (and remembering them via 
cookies?) or
detecting screen resolutions.  Is the latter possible?

Original comment by codedr...@gmail.com on 23 Jun 2009 at 12:32

GoogleCodeExporter commented 9 years ago
Yes, screen.width and screen.height in JavaScript.

I think it is better to detect window size, though:

window.innerHeight/Width
  - provided by most browsers, but importantly, not Internet Explorer
document.body.clientHeight/Width
  - provided by many browsers, including Internet Explorer
document.documentElement.clientHeight/Width
  - provided by most DOM browsers, including Internet Explorer

(this issue is a very low priority for me ...)

Original comment by rusn...@gmail.com on 23 Jun 2009 at 1:26

GoogleCodeExporter commented 9 years ago
Actually I don't think it makes sense to 'switch' the positions of the bars 
either -
the context bar has wide controls (edit boxes) and it would look bad if 
positioned
vertically.

Original comment by codedr...@gmail.com on 23 Jun 2009 at 2:32

GoogleCodeExporter commented 9 years ago
I will close as WontFix for now. We should try svg-edit on low resolutions 
(800x600, 
netbooks have 1024x600) during development. If we decide to optimize for even 
lower 
resolutions we could reopen the issue, but I don't think it's worth it.

Original comment by rusn...@gmail.com on 23 Jun 2009 at 2:42