<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to align Button to right in maya python in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/how-to-align-button-to-right-in-maya-python/m-p/12025340#M10659</link>
    <description>&lt;P&gt;Is it possible to align label within a button using MEL/Maya Commands?&lt;BR /&gt;Autodesk's UI menu has alignment to left and added margin.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 02:50:25 GMT</pubDate>
    <dc:creator>The-Digital-Shaman</dc:creator>
    <dc:date>2023-06-11T02:50:25Z</dc:date>
    <item>
      <title>How to align Button to right in maya python</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-to-align-button-to-right-in-maya-python/m-p/7644556#M10657</link>
      <description>&lt;P&gt;I want to align button to the right and create checkbox to the left.&lt;BR /&gt;I want to display button and checkbox in one line .Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;import maya.cmds as cmds&lt;/P&gt;&lt;P&gt;cmds.window( width=200 )&lt;BR /&gt;cmds.columnLayout( adjustableColumn=False )&lt;BR /&gt;cmds.button( label='Submit Job',width=130,align='right')&lt;BR /&gt;cmds.checkBox(label='Scout Job')&lt;BR /&gt;cmds.showWindow()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ungrgtitled.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/442391i7EE8D132238C3B5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ungrgtitled.png" alt="Ungrgtitled.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected Output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dveddge.png" style="width: 355px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/442394i6AE0535AD1631DD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="dveddge.png" alt="dveddge.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 13:26:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-to-align-button-to-right-in-maya-python/m-p/7644556#M10657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-22T13:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to align Button to right in maya python</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-to-align-button-to-right-in-maya-python/m-p/7648436#M10658</link>
      <description>&lt;P&gt;This will work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import maya.cmds as cmds&lt;BR /&gt;&lt;BR /&gt;cmds.window( width=200 )&lt;BR /&gt;cmds.rowLayout( numberOfColumns=2 )&lt;BR /&gt;cmds.checkBox(label='Scout Job')&lt;BR /&gt;cmds.button( label='Submit Job',width=130,align='right')&lt;BR /&gt;cmds.showWindow()&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2017 08:29:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-to-align-button-to-right-in-maya-python/m-p/7648436#M10658</guid>
      <dc:creator>rajasekaransurjen</dc:creator>
      <dc:date>2017-12-26T08:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to align Button to right in maya python</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-to-align-button-to-right-in-maya-python/m-p/12025340#M10659</link>
      <description>&lt;P&gt;Is it possible to align label within a button using MEL/Maya Commands?&lt;BR /&gt;Autodesk's UI menu has alignment to left and added margin.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 02:50:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-to-align-button-to-right-in-maya-python/m-p/12025340#M10659</guid>
      <dc:creator>The-Digital-Shaman</dc:creator>
      <dc:date>2023-06-11T02:50:25Z</dc:date>
    </item>
  </channel>
</rss>

