On Tue, Nov 26, 2019, 7:46 AM likage <dissidia....@gmail.com> wrote:

> Hi everyone, on the first launch, the window is not docked anywhere but
> rather as a floating window.
>
> As Justin has mentioned - "bounds of the parent window", how do I resize
> the parent window then?
> Will I be implementing the resizing as how I called upon the tool launch?
>

Because of the use of a possible parent dock widget, you may have to do
something like:

if self.isDockable():
    self.parent().resize(x, y)

> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/7f360f14-8896-4fa8-8759-73a461c1032a%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/7f360f14-8896-4fa8-8759-73a461c1032a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2aFmsFjvNDsgSdXHcfCvDtjPwKuGV8JknGg-6tV%3DX6YQ%40mail.gmail.com.

Reply via email to