Hello, I have some weird stuff going on that I wanted to note:

1) I'm getting this weird message whilst using setFont and the theme
package:

"Uncaught Error: Error in property font of class qx.ui.basic.Label in method
setFont with incoming value 'info': Is invalid!"

this is what I'm doing:

var labelName = new qx.ui.basic.Label();

labelName.setValue(' Nombre Completo y apellido ');
labelName.setFont('name');

This is what I have in the theme.Font class:

qx.Theme.define("ideacx.theme.Font",
{
  extend : qx.theme.modern.Font,

  fonts :
  {
        "name" : {
                size: 19,
                bold: true
        },
        "info" : {
                size: 16,
                bold: true
        },
        "item" : {
                size: 16,
                bold: true
        },
        "dateActivites" : {
                size: 23,
                bold: true
        }
  }
});





----------------------------------------------------------

2) TabView goes crazy when adding pages with _add, here's the code:

var page = new qx.ui.tabview.Page(tab);
page.setLayout(new qx.ui.layout.Canvas());
                                        
page.add(new qx.ui.basic.Label('hello!!"));
                                
this._add(page); //if i change this to this.add it works fine



What happens when i do this is that the tabs don't show, just the bottom
border of the pane as if the buttons were clipped or never added and the
label drops all the way to the bottom (and out of the tabview actually)
without me even specifying any position!

Now that I'm at it, what's the difference of using this._add or this.add, I
was using this._add when I extended from the qx widgets and adding other
stuff from inside, but is there an advantage to using this._add ?


Thank you very much guys!


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Strange-things-happening-tp6476939p6476939.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to