PDA

View Full Version : Interface with scrollbar within.


BigRoyNL
11-03-2010, 11:03 AM
Hey Guys,

I've been working on a script and am trying to create an interface for the basics needs.

This is my concept:
http://www.royn.nl/temp/windowExample.png

So I thought like this:

columnLayout
.....* (left) the tabLayout
..............- it's children like buttons and all within for each tab
.....* (right) rowColumnLayout (so I can layout all the stuff in there as seen in the picture)
..............- the pictures (white cubes in example)

But I just can't seem to figure out how to get a scrollbar inside the window (just for the right side), so for the rowColumnLayout on the right side.

Hope this is explained well enough.
Anyone any hints on how to do this?

EDIT:
I think placing the rowColumnLayout in a scrollLayout just did the trick. =)

Thanks.

Roy

NaughtyNathan
11-03-2010, 11:22 AM
for this kind of layout you should really use formLayout Roy.
Top level is formLayout, children are tabLayout and scrollLayout.
Their children in turn are columnLayouts for the tabLayout and, I would suggest gridLayout rather than rowColumnLayout for the right panel.


:nathaN

CGTalk Moderation
11-03-2010, 11:22 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.