Hey,
> Here's a small example:
> http://tinyurl.com/q6rho4w
Thanks for the sample.

> I couldn't figure out how to use my PNG in the playground, so I've used that
> one, which is used in the hello world example - doesn't look very nice, but
> should explain the problem.
> 
> You can see a button, which content has a size of 74 x 21px.
> The whole button has a size of 94 x 41px, cause I set the slice size to 10
> and qooxdoo uses the slice size as size for the border as well.
> What I need is to specify another border width than the slice size, to get a
> smaller button.
> 
> If you enter -8 for the padding, the button looks like I expect it, but the
> content is cropped.

As the border image css is acting like a real border, you can not expand the 
content above it, as you could do with the old qooxdoo. We had two divs on top 
of each other which is why it was possible back then. With the plain border 
image css, thats not possible anymore. Setting the padding to -8 will result in 
the proper outer size but the inner size is reduced which is why the content is 
cropped. Here we can tackle the problem. The content is cropped because its 
overflow property is set to 'hidden'. Setting it to visible could solve your 
problem:

http://tinyurl.com/kht8eks

Regards,
Martin
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to