[comp.windows.x] Need help with scrolling label pixmaps.

molly@cs.uq.oz.au (Mark Ollila) (05/20/91)

I have a problem with an application I am writing with the 
Xtool kit. 

What I want is a scrollbar which scrolls pixmaps.

I have the pixmaps on file and read them in and create label
widgets with them. I create a viewport widget which has a 
form widget as a child. I then assign all the label widgets
as children of the form widget. What happens is the 
form widget compresses the label widgets to all fit on the
current size of the form widget. I would like if the label widgets 
are the same size and I could just scroll a label/s on to the
screen when I want by the scrollbar. 

I realise the problem might be the form widget but am just enquiring
if the application I am writing can be done with the current widgets 
available or do I have to write my own widget.??

Any help and ideas will be appreciated.

Mark.
.