Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 17-01-2007 , 09:55 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

scrollField

Has anyone ever used the scrollField command?

Trying to figure it out with the docs, with limited success. It seems to ignore my width and height settings so I cannot view the whole list. Here is my simple testing script.

string $A = "Item_A\n";
string $B = "Item_B\n";
string $C = "Item_C\n";
string $D = "Item_D\n";

string $list;
$list += $A;
$list += $B;
$list += $C;
$list += $D;

if (`window -q -exists qwe`) deleteUI qwe;
window -menuBar true -mxb true -mnb true -title Title -w 260 -h 200 qwe;

rowColumnLayout -numberOfRows 4 ;

text -label "Title" -align "center" -fn boldLabelFont;
text -label "-----------------------------------------------------------------------------------" -align "center";
rowColumnLayout -numberOfRows 1 -rh 1 200;
scrollField -w 500 -h 200 -wordWrap false -nl 15 -text $list -editable false shdrLists;

showWindow qwe;


All help is appreciated.
Thanks,
-dann


Last edited by Dann; 17-01-2007 at 10:11 AM.
# 2 17-01-2007 , 04:51 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
got it working. nevermind.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off