Hi Cris I am definitely trying to style the pane. I am trying to have one background color rectangle with rounded top edges. I found out in the documentation that I should use Grid layout. So I try to use one of the existing images in the modern theme. The only one I found out related to the tabview was tabview-pane.png. My idea was to use this image and then change it background color.
S pozdravem / Best regards, Monika Falk, Software Specialist Tieto -- Message: 6 Date: Tue, 06 Oct 2009 16:04:58 +0200 From: Christian Schmidt <schmidt.christ...@1und1.de> Subject: Re: [qooxdoo-devel] Styling tabview To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net> Message-ID: <4acb4e8a.7080...@1und1.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Monika, I'm not sure, perhaps you only set the decorator on the wrong element. It seems to me that you try to style the pane, but you set the decorator on the bar. Perhaps, I only misunderstood your code, could you please explain, what you are try to change? Thanks, Chris monika.f...@tieto.com schrieb: > > Hi All > > I am trying to style tabview widget. However I did not get expected result. I > place my code below. Please correct me if I am doing something wrong. > > //this is my widged > this.__myTabView = new qx.ui.tabview.TabView(); > this.__myTabView .setAppearance("my-tabview"); > > //appearance file > > "my-tabview" : "tabview", > > "my-tabview/bar" : { > include : "tabview/bar", > style : function(states) > { > return { > decorator : "my-bar" > }; > } > > }, > > "my-tabview/bar/scrollpane" : "tabview/bar/scrollpane", > > "my-tabview/bar/content" : "tabview/bar/content", > > "my-tabview/pane" : "tabview/pane", > > //decoration file > > "my-bar" : { > decorator : qx.ui.decoration.Grid, > style : { > baseImage : "my/icons/tabview-pane.png" > } > }, > > And tabview-pane.png image is taken from > \qooxdoo-0.8.2-sdk\framework\source\resource\qx\decoration\Modern\tabview\ > After all of that I got an error in displaying images (the bottom right > image is moved two pixels to the right and there is two pixels gap). > Is there any way how I can change it, or maybe I am doing something wrong? > > S pozdravem / Best regards, > > Monika > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > -- Christian Schmidt Software Entwickler 1&1 Internet AG - Web Technologies Ernst-Frey-Stra?e 9 ? DE-76135 Karlsruhe schmidt.christ...@1und1.de Amtsgericht Montabaur / HRB 6484 Vorst?nde: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ------------------------------ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel End of qooxdoo-devel Digest, Vol 41, Issue 25 ********************************************* ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel