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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel