[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    Re: [E-devel] elm_toolbar
From:       Carsten Haitzler (The Rasterman) <raster () rasterman ! com>
Date:       2009-08-28 14:27:31
Message-ID: 20090829002731.09fb2f51.raster () rasterman ! com
[Download RAW message or body]

On Fri, 28 Aug 2009 09:38:25 -0400 Christopher Michael <cpmichael1@comcast.net>
said:

> Carsten Haitzler (The Rasterman) wrote:
> > On Tue, 25 Aug 2009 19:14:41 -0400 Christopher Michael
> > <cpmichael1@comcast.net> said:
> > 
> >> Hi All :)
> >>
> >> Doing some work on elm_toolbar lately (as I am using it in an app), and 
> >> want to add the ability for toolbar to have separators. Now, the 
> >> question is this:
> >>
> >> Would it be better to have an elm_toolbar_separator_add OR 
> >> elm_toolbar_item_separator_set ?
> >> The difference (IMO) being that elm_toolbar_separator_add would use an 
> >> elm_separator and append it to the toolbar where as 
> >> elm_toolbar_item_separator_set would use a normal Toolbar Item and flag 
> >> it as being a separator (and allowing a toolbar separator to be themed 
> >> different from a normal separator).
> > 
> > separator_set - it just is nicer with the api i think as its a toolbar item
> > always - just does it work as a clickable one or a visual separator. we
> > possibly want more in future like "popdowns" to pop down some selection menu
> > like a hoversel etc.
> > 
> >> Thoughts ?
> >>
> >> dh
> 
> I'm thinking just a visual one and not clickable...

same here. clicking on it does nothing. it simply sits there and looks
pretty. :)

> Ok, I did some prelim code on this Wednesday (nothing committed), but I 
> did notice a problem in that the toolbar sets everything homogenous (so 
> that buttons are the same size) . The problem here is that the separator 
> became the same size as a button and looked like poo :( So my question 
> is ... Would it be better to remove the homogenous and size each 
> button/item based on type ? OR an approach where it's left homogenous 
> and separators are handled specially ?

handled specially. :) imho this is best. the toolbar will look nasty if not.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic