Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Confusion about icon sizes
Confusion about icon sizes [message #430497] Mon, 25 May 2009 09:58 Go to next message
Dirk Hoffmann is currently offline Dirk HoffmannFriend
Messages: 163
Registered: July 2009
Senior Member
Hi,

I'm a bit confused about which icon size to use for the generated editor.

Some of our icons have a 1 pixel width border which disappears at the
bottom and right side of the icon in the tree view. Some searching
revealed these pages:

http://www.eclipse.org/articles/Article-UI-Guidelines/Conten ts.html#IconSpecsTypes_VDG
http://wiki.eclipse.org/UIGraphics_:_Specifications_:_IconSi ze&Placement#Model_Object

So apparently there are icons which are recommendended to be 15x15
pixels in size (actually 16x16 but with invisible pixels), these are
called Model Icons, and others with 16x16 pixel dimension.

We changed our Icons to 15x15 but now they look a bit strange in the
properties view. They don't fully fill up the vertical space in their
cells and are aligned to the top of the cell leaving two empty pixel
lines at the bottom. I would prefer them aligned to the middle with one
empty pixel line at the top and the other at the botom of the cell.

I guess the problem stems from the fact that the same icon's are used in
places where actually different types of icons are expected, 15x15 in
the tree view and 16x16 in the properties view.

Any ideas how to deal with this?

Thanks and Regards,
Dirk
Re: Confusion about icon sizes [message #430507 is a reply to message #430497] Mon, 25 May 2009 15:00 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Dirk,

Comments below.

Dirk Hoffmann wrote:
> Hi,
>
> I'm a bit confused about which icon size to use for the generated editor.
>
> Some of our icons have a 1 pixel width border which disappears at the
> bottom and right side of the icon in the tree view. Some searching
> revealed these pages:
Things like the tree view end up computing the fixed icon size based on
the first icon it sees that then assumes that all icons will be this size...
>
> http://www.eclipse.org/articles/Article-UI-Guidelines/Conten ts.html#IconSpecsTypes_VDG
>
> http://wiki.eclipse.org/UIGraphics_:_Specifications_:_IconSi ze&Placement#Model_Object
>
>
> So apparently there are icons which are recommendended to be 15x15
> pixels in size (actually 16x16 but with invisible pixels), these are
> called Model Icons, and others with 16x16 pixel dimension.
>
> We changed our Icons to 15x15 but now they look a bit strange in the
> properties view. They don't fully fill up the vertical space in their
> cells and are aligned to the top of the cell leaving two empty pixel
> lines at the bottom. I would prefer them aligned to the middle with
> one empty pixel line at the top and the other at the botom of the cell.
>
> I guess the problem stems from the fact that the same icon's are used
> in places where actually different types of icons are expected, 15x15
> in the tree view and 16x16 in the properties view.
It's kind of annoying...
>
> Any ideas how to deal with this?
No, I just lived with the annoyance...
>
> Thanks and Regards,
> Dirk


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] CDOSavePoint and rollback question
Next Topic:[CDO] Testing framework question
Goto Forum:
  


Current Time: Fri Apr 26 17:37:37 GMT 2024

Powered by FUDForum. Page generated in 0.03190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top