Hi Norbert Thanks for the reply; so Modern (and Aristo) used margins to inflate the size of the selected tab but this doesn¹t work so well - in fact thinking about it now, that makes sense (ie that margins should not be used in this way) given that the tab¹s label¹s length can vary and would have an impact on the overall layout of the page.
Cheers John On 22/04/2014 16:37, "Norbert Schroeder" <n.schroe...@scro34.de> wrote: >Hi John, > >yes, the bug is to do with margins, I could reproduce the issue in the >Widget Browser (http://demo.qooxdoo.org/3.5/widgetbrowser/). Fixing this >bug is fairly easy: > >- Open Appearance.js (in qx.theme.modern) and search for the first >occurrence of "tabview-page/button". >- Find the "else" branch of the main "if" statement (if (states.checked) >{[...]} else {[...]}). >- Go down to the "else if (states.barRight)" block and change marginRight >from 5 to 1. >- Do the same with marginLeft in the final "else" branch. >- File a bug report ;-) > >With Aristo I can't really help you but I suppose the solution can be >found in almost the same place (or somewhere in its neighbourhood). > >Regards, > > Norbert > > >John Spackman schrieb am 22.04.2014 16:25: > >> Hi >> >> >> I have a bug which affects the modern theme, where changing the >>selected tab of a tabview will change the size of the page noticeably >>shrinking it by a couple of pixels. This only happens in Modern, here¹s >>a playground link at [1] which shows the code but please note that this >>only occurs in Modern, not the playground¹s default Simple theme. >> >> >> [1] http://tinyurl.com/mfr5xbz <http://tinyurl.com/mfr5xbz> >> >> >> Is there a way to run a Modern version of playground? >> >> >> I have a similar problem with a custom TabView derived class in >>connection with Aristo, and what happens there is worse in that the >>buttons move in and out with the mouse click. I think this is to do >>with margins on the tabs any ideas? >> >> >> Regards >> >> John > >-------------------------------------------------------------------------- >---- >Start Your Social Network Today - Download eXo Platform >Build your Enterprise Intranet with eXo Platform Software >Java Based Open Source Intranet - Social, Extensible, Cloud Ready >Get Started Now And Turn Your Intranet Into A Collaboration Platform >http://p.sf.net/sfu/ExoPlatform >_______________________________________________ >qooxdoo-devel mailing list >qooxdoo-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel