Hi,
I have discovered that the cause of all this, is that the appearance of
QxTabView changes dramatically when iinserted inside a QxBoxLayout.
I have tried unsuccessfully to use QxTabView.setBackgroundColor(new
QxColor('white')), QxTabViewPane.setBackgroundColor(new
QxColor('white')), in order to change the background color to white
Any hint?
David Perez schrieb:
> Hi
>
> I have created a simple QxTabView, and it doesn't look as nice as in
> the examples
> (http://old.qooxdoo.org/public/demo/example/TabView_1.html). No
> border is shown
> I have reviewed several times the code, but there is no difference
> between them. Any idea? Am I missing anything important?
>
> Screenshot attached.
>
> Here is my code:
>
> window.application.main = function() {
> var cont = new QxBoxLayout;
> with (cont) {
> setWidth('100%');
> setHeight('100%');
> setHorizontalChildrenAlign('center');
> setVerticalChildrenAlign('middle');
> }
> var b1 = new QxTabViewButton('uno');
> b1.setChecked(true);
> var t1 = new QxTabViewPage(b1);
> var b2 = new QxTabViewButton('dos');
> var t2 = new QxTabViewPage(b2);
> t1.add(new QxLabel("Tab uno"));
> t2.add(new QxLabel("Tab dos"));
> with (t1) {
> setWidth('auto');
> setHeight('auto');
> }
> with (t2) {
> setWidth('auto');
> setHeight('auto');
> }
> var e = new QxTabView;
> with (e) {
> setWidth('auto');
> setHeight('auto');
> }
> e.getBar().add(b1);
> e.getPane().add(t1);
> e.getBar().add(b2);
> e.getPane().add(t2);
> cont.add(e);
> this.add(cont);
> }
>
>
> ------------------------------------------------------------------------
>
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel