On Wed, 25 Nov 2009 20:31:56 +0100 (CET) Uli Schlachter <[email protected]> wrote: > > And that's the problem. I'm not sure how to add that, because there's a > > problem of layer with that: should we draw image above the text? below > > the text? With the same (v)align properties? > > Add 2 images? below and above? Do nothing? Start using e17? > > Ideas guys? > > I think one should best treat images as background, so they go below the text > (why would I want an image in front of my text? Other way around makes sense > to me).
I agree that's the most probable usage. I'd say go either this way and add an attribute to put the image in front (should be just a few more lines of code); or the one below one above way, but thats more code, and also more features... Regarding the usecases - besides the obvious text over background, you can have a small indicator like the 'floating' wings now. The image can have alpha too so it could well be something someone might wanna do (can text have alpha?). Then again, he may wanna have 2 icon-like indicators like this... But that seems not feasible atm. so might just wanna stick to something not too complicated and solve it with compositing or something later.. > And for the (v)align properties: It wouldn't be much extra code to have > text_(v)align and image_(v)align, would it? One could also use (v)align and > image_(v)align (If this turns out to be a lot of code this can be thought over > again). I think there should be special (v)align for each..otherwise it will be pretty limited.. cheers lukash (Who's gonna find out what e17 can do since everyone is talking about it) -- To unsubscribe, send mail to [email protected].
