Instead of adding it to the scrollContainer via "this.getContent().add()" 
Just use this method:

http://demo.qooxdoo.org/current/apiviewer/#qx.ui.mobile.page.NavigationPage~addAfterNavigationBar!method_public

addAfterNavigationBar()  places the image before the content which scrolls.

Greetz Christopher

________________________________________
Von: alexey.petrenko [apetrenko1...@gmail.com]
Gesendet: Mittwoch, 8. Januar 2014 18:54
An: qooxdoo-devel@lists.sourceforge.net
Betreff: Re: [qooxdoo-devel] Splash screen in qooxdoo mobile

One more question, please...

On the 1st screen of the design sheet I have a big orange image near the top
of the screen. How to disable scrolling for this image?

I used the following code to add it:

      var layout = new qx.ui.mobile.layout.VBox().set({alignY: 'middle'});
      var container = new qx.ui.mobile.container.Composite(layout);
      var logo = new
qx.ui.mobile.basic.Image('templateapp/images/logo.png');
      container.add(logo);
      this.getContent().add(container);

      var logoContainer = logo.getContainerElement();
      qx.bom.element.Style.set(logoContainer, 'width', '100%');
      qx.bom.element.Style.set(logoContainer, 'height', 'auto');

and it seems to scroll with the whole page. I want it to be stick to the top
like the navigationbar do.



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Splash-screen-in-qooxdoo-mobile-tp7585123p7585149.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to