I have tried using the Grid decorator to achieve rounded corners now that the
Rounded decorator has been removed and there are still some problems in
Internet Explorer 6.0 - it does not render the bottom border. I have altered
the demo program to show the problem. I used this set of 3x3 images to make
the border.
http://www.nabble.com/file/p18960533/border1-tl.gif
http://www.nabble.com/file/p18960533/border1-t.gif
http://www.nabble.com/file/p18960533/border1-tr.gif
http://www.nabble.com/file/p18960533/border1-l.gif
http://www.nabble.com/file/p18960533/border1-c.gif
http://www.nabble.com/file/p18960533/border1-r.gif
http://www.nabble.com/file/p18960533/border1-bl.gif
http://www.nabble.com/file/p18960533/border1-b.gif
http://www.nabble.com/file/p18960533/border1-br.gif
Here are the results
FireFox 3.0.1 http://www.nabble.com/file/p18960533/GridBorderFF.gif
Internet Explorer 6.0 http://www.nabble.com/file/p18960533/GridBorderIE.gif
main : function()
{
// Call super class
this.base(arguments);
var container1 = new qx.ui.container.Composite(new
qx.ui.layout.VBox());
// Create button
var button1 = new qx.ui.form.Button("First Button",
"sample/test.png");
var dec = new qx.ui.decoration.Grid();
dec.setBaseImage("sample/border1.gif");
dec.setInsets([3,3,3,3]);
button1.setDecorator(dec);
container1.add(button1);
// Add button to document with coordinates
this.getRoot().add(container1, {
left : 50,
top : 50
});
// Add an event listener
button1.addListener("execute", function(e) {
alert("Hello World!");
});
}
It's a shame you had to remove the Rounded decorator as it seemed to work
really well in FireFox and served as a convenient way to grab some images
for use in an alternative Grid decorator.
I'm not obsessed by rounded borders and I could live with square corners if
there is no alternative but I hope the Grid decorator won't also be removed.
Will.
Sebastian Werner wrote:
>
> Hi Will,
>
> thank you for your feedback. The rounded border decorator (there are
> still other classes to produce rounded borders in qooxdoo 0.8) was
> removed because of the too irregular rendering result. It was still
> not enough to fulfill our needs. And as there are better alternatives
> for qooxdoo users, we thought this class is better removed from the
> qooxdoo mainline for the moment.
>
> Still thanks for your feedback. Keep it coming.
>
> Cheers,
> Sebastian
>
--
View this message in context:
http://www.nabble.com/Rounded-border-colours-in-Internet-Explorer---qooxdoo-0.8-beta1-tp18894747p18960533.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel