Koen: I solved this problem by restructuring my layout code, and using WContainerWidget::setOverflow(). See my message of August 14, 2013 for an example. Using a WScrollArea for the entire window seemed to break the operation of an inner scrollbar.
At the risk of repeating myself, having more examples for layouts and a tutorial explaining "Best Practices for Wt Layout" would really help. At present, I find myself searching the mail archives for people who have solved a similar problem, and mimicking their code. On Sep 18, 2013, at 9:51 AM, Koen Deforche <k...@emweb.be> wrote: > Hey Joe, > > (I'm working through old unanswered emails ...) > > Did you get this solved? I'm not sure I understand the issue -- the > desired behavior sounds like the default behavior of a web browser > (and Wt); there is no need for a WScrollArea even ? > > koen > > 2013/4/25 Joe VanAndel <vanan...@ucar.edu>: >> I'm writing a Wt application (3.3.0) that needs to run on different size >> displays. On smaller displays, I'd like to use scrollbars so my users can >> see all of the window content. >> >> If I don't call WScrollArea::setHeight(), the vertical scrollbar doesn't >> work property - I can't scroll far enough to see all my content. >> >> However, if I do call WScrollArea::setHeight(), the "active" area, where my >> content is displayed, never grows, even if I increase the size of the >> window. >> >> I tried using the layoutSizeChanged() callback to set the height of the >> scrollbar. However, although the reported width changes while I'm resizing >> the window, the reported height always stays the same. >> >> I've seen this behavior with Firefox 20, Safari 6.04, and Chrome Version >> 26.0.1410.65 >> >> Any ideas on how to have a working vertical scrollbar that resizes as the >> window resizes? >> >> >> >> ------------------------------------------------------------------------------ >> Try New Relic Now & We'll Send You this Cool Shirt >> New Relic is the only SaaS-based application performance monitoring service >> that delivers powerful full stack analytics. Optimize and monitor your >> browser, app, & servers with just a few lines of code. Try New Relic >> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr >> _______________________________________________ >> witty-interest mailing list >> witty-interest@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/witty-interest >> > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest