メッセージ1/1
Custom Window Layout Issue
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- パーマリンクを表示
- 印刷
- 報告
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)
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 )