Koen Deforche wrote:
> See the attached modified test case with the following diff:

Hi,
        thanks for the response, but, I've kind of moved on, since I
posted this question three weeks ago. Since I couldn't get anything
like this approach to work properly (and using an explicit scroller
resulted in even more bizarre behaviour - doubled up scroll bars etc.),
I found a different approach that worked for my particular case, by adding
the vertical strip into the background the outer container, and offsetting the
text to avoid overwriting it. The trial and error coding took some time though,
since the obvious approaches didn't work.

> +     m_body->setStyleClass("text");
> +     styleSheet().addRule(".text", "overflow: auto;");

Hmm. I'm afraid this doesn't work for me. With JavaScript enabled, I don't
get a scroll bar when I narrow the window. I'm not sure how I would discover
this approach either, since it goes outside the toolkit API and starts
messing with CSS, something I'm trying to avoid, and one of the reasons I'm
interested in using Wt.

>   - there is no need to add the widgets to the container and the layout
> manager -- just the layout manager will suffice

Thanks, this wasn't obvious from the documentation.

Graeme Gill.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to