DzScrollView help

djigneodjigneo Posts: 283

What's the trick to getting the DzScrollView to show a (in this case vertical) slider?

var oDialog = new DzDialog();var oScrollView = new DzScrollView(oDialog);var oGrp = new DzVGroupBox(oScrollView);oGrp.columns = 1;for (var i = 0 ; i < 20; i++) {		var oCheckBox = new DzCheckBox(oGrp);}oDialog.exec();

Produces the attached image (after manually resizing dialog).

I suspect it's something on oScrollView.getWidget(), but I'm coming up with nothing. Any hints?

 

Edit: To clarify what I'm trying to accomplish, I'm attempting to display a list of items in a dialog which may be larger (vertically) than the dialog will support I would like to put them in a vertical scroll pane so that the user may scroll to see them all.

scrollpane.PNG
125 x 161 - 2K
Post edited by djigneo on

Comments

Sign In or Register to comment.