textScrollList width vs iconTextScrollList width

textScrollList width vs iconTextScrollList width

jEchoes
Participant Participant
615 Views
0 Replies
Message 1 of 1

textScrollList width vs iconTextScrollList width

jEchoes
Participant
Participant

Hey,

 

On an empty iconTSL, the minimum width seems to be 104 before horizontal scroll bars appear.

 

Compared to the textSL, you can go as small as you want.

 

I'm building a gui that needs an iconTextScrollList around w=70, I would prefer no scroll bars. 

 

Is this behavior expected?

 

example below

 

 

#python
import maya.cmds as mc
def gui(): if mc.window("window", exists=True): mc.deleteUI("window") mc.window("window") mc.rowColumnLayout(numberOfRows=2, w=101, h=200) mc.text("w=30") mc.textScrollList(h=150, w=30) mc.text("w=50") mc.iconTextScrollList(h=150, w=50) mc.text("w=104") mc.iconTextScrollList(h=150, w=104) mc.setParent("window") mc.showWindow("window") mc.window("window", e=True, w=400, h=200) gui()

Cheers!

Jeremy

0 Likes
616 Views
0 Replies
Replies (0)