[Prev][Next][Index][Thread]

Using DUIM's <viewport>



I'm writing a utility at work, and I wanted to create a NeXT-style 
browser view.  For those who don't know, it will look like this:

+-----------------------------------------+
|   root         line 3                   |
| +----------+ +-------------+            |
| | line 1   | | sub-item 1  |            |
| | line 2   | | sub-item 2  |            |
| |#line#3###| |             |            |
| | line 4   | |             |            |
| | line 5   | |             |            |
| +----------+ +-------------+            |
|                                         |
|<::::::::::::::::##:::::::::::::::::::::>|
+-----------------------------------------+

I figured I'd use a <viewport> with a child <row-layout> and add 
labelled <list-controls>.  But when I run the app, the area where the 
viewport should show up is blank.

It's entirely possible that I am misusing that class.  It's not 
well-documented.  Has anyone used this?  Any sample code?



Follow-Ups: