Custom Window Layout Issue

Custom Window Layout Issue

Admiral.Pixel
Enthusiast Enthusiast
673件の閲覧回数
0件の返信
メッセージ1/1

Custom Window Layout Issue

Admiral.Pixel
Enthusiast
Enthusiast

Hi all! I'm trying to make a custom window in Maya using Python however I'm having issues with the layout. My float slider is all the way to the right side instead. Any idea how to tackle this issue? I'm also having difficulties of which codes to use to align them left side. (Please see image)

sample1.jpgsample2.png

 

import maya.cmds as cmds


if cmds.window("cusWin", exists = True):
    cmds.deleteUI("cusWin")
        
    
customwindow = cmds.window("cusWin",t= "Push/Relax", wh = (200, 110), s= False, mnb= False, mxb= False)

cmds.frameLayout( label='Push/Relax Modifier', borderStyle='in', cll= False)
cmds.columnLayout(adj = True, columnOffset= ["both", 2])
cmds.radioCollection()
cmds.radioButton(l = "Push")
cmds.radioButton(l = "Relax")
 
cmds.floatSliderGrp(l = "Value", field = True, min = 0, max= 5, precision = 5)
cmds.button(l= "Apply")

cmds.showWindow( customwindow )

 

 

0 件のいいね
674件の閲覧回数
0件の返信
返信 (0)