Re: [Inkscape-devel] button sizes?
David Christian Berg wrote:
Alors: When I designed my icon theme, I noticed exactly the same problem as Andreas did. Designing icons to use the space of 16*16 in the menu will be clipped in the tool-option-bar. I don't agree that this means, that the buttons have to become larger. A svg will look rather crisp at any size and gnome is going svg, for sure. It just means, that the rendering of the icons is kinda screwed. The size on canvas should not matter at all! That's what svg is for. Find the object you want to draw, take it's width or height, whatever is bigger, and scale it proportionally to fit either the 16px of the Menu or the I think 20 px of the tool-option bar. That's how it should work. Right now I have to design a 24pt*24pt icon to fit the menubar. Since it actually is 16px*16px one might think that maybe scaling up a 16pt*16pt object would give very crisp results, but it doesn't. At the same time, the node-editing icons created in 20pt*20pt allow you to draw single pixels, which are 1pt*1pt. So as I said, all this is kinda screwed, but it doesn't count as a reason for increasing the button size.
David
So youre saying that there might be another reason for the clipping? The clipping is my main concern, and I thought that the size was the problem. If that is not, I apoligy for my request to make the buttons larger, especally if people find it a problem with normal-sized icons. - Andreas
So youre saying that there might be another reason for the clipping? The clipping is my main concern, and I thought that the size was the problem.
Yes, I believe there is a problem with the rendering. For some reason a wrong part of the group with the right name is rendered. I could even imagine, that increasing the button size will not help with this problem.
David
On Fri, Jan 21, 2005 at 03:15:35PM +0100, David Christian Berg wrote:
Yes, I believe there is a problem with the rendering. For some reason a wrong part of the group with the right name is rendered. I could even imagine, that increasing the button size will not help with this problem.
Which icon area does the clipping? I think I know the answer to this: there are two rendering functions for the inkscape icons. One clips (sp_icon_new), one scales (sp_icon_new_scaled). I ran into this too while converting from XPMs.
On Fri, Jan 21, 2005 at 07:51:46AM -0800, Kees Cook wrote:
Which icon area does the clipping? I think I know the answer to this: there are two rendering functions for the inkscape icons. One clips (sp_icon_new), one scales (sp_icon_new_scaled). I ran into this too while converting from XPMs.
Hmpf. I tried changing the sp_icon_new's I found, but it did very unexpected things. The tool selectors got big, and the icons next to the layers got really small.
I think I need to grok the icon rendering code a little more.
Anybody can tell me where to send italian translation because from freshmeat there is non response (not full but Grafic Interface, Menu's, Tools windows are in italian. It is working for me and could be usefull to somebody too
Good work
Darek
On Fri, Jan 21, 2005 at 05:30:06PM +0100, Dariusz Stojek wrote:
Anybody can tell me where to send italian translation because from freshmeat there is non response (not full but Grafic Interface, Menu's, Tools windows are in italian. It is working for me and could be usefull to somebody too
Which freshmeat contact are you refering to? You can send it to this list.
On Fri, 21 Jan 2005, Kees Cook wrote:
On Fri, Jan 21, 2005 at 05:30:06PM +0100, Dariusz Stojek wrote:
Anybody can tell me where to send italian translation because from freshmeat there is non response (not full but Grafic Interface, Menu's, Tools windows are in italian. It is working for me and could be usefull to somebody too
Which freshmeat contact are you refering to? You can send it to this list.
This list is fine to send to. The official place for posting translations is the Patch Tracker:
http://sourceforge.net/tracker/?group_id=93438&atid=604308
Bryce
On Fri, 2005-01-21 at 11:14, Kees Cook wrote:
Hmpf. I tried changing the sp_icon_new's I found, but it did very unexpected things. The tool selectors got big, and the icons next to the layers got really small.
I think I need to grok the icon rendering code a little more.
I don't understand it either. :/
-mental
MenTaLguY wrote:
On Fri, 2005-01-21 at 11:14, Kees Cook wrote:
Hmpf. I tried changing the sp_icon_new's I found, but it did very unexpected things. The tool selectors got big, and the icons next to the layers got really small.
I think I need to grok the icon rendering code a little more.
I don't understand it either. :/
I've not gotten into it myself, but I *think* there should be some good ways to clean this all up.
Notice that I said "good", and not "easy". :-)
given my ambitions for hooking in dynamic UI DOM thingies, I might get to look into it a bit in a week or so
participants (7)
-
Andreas Nilsson
-
Bryce Harrington
-
Dariusz Stojek
-
David Christian Berg
-
Jon A. Cruz
-
Kees Cook
-
MenTaLguY