On Tue, 27 Oct 2015 3:15 AM Marcus Ottosson <[email protected]> wrote:

Have been expecting to grasp this with some afterthought, but it hasn't
quite come to me yet.

Why a QStackedWidget, and not just a plain QWidget? Seems a waste, as there
will ever only be a single widget in it?

I expected one would add the widget to a QStackedWidget to keep it centered
at all times, regardless of the size of the stack. But maybe it still works
by only parenting to an outer QWidget? I haven't tested.


On 23 October 2015 at 20:05, Justin Israel <[email protected]> wrote:

On Sat, Oct 24, 2015 at 4:18 AM Ben Hearn <[email protected]> wrote:

Oh man thanks for the heads up. Got it working as I wanted straight off the
bat. Except the space between the widgets. Any quick solutions?

You can control the spacing independently if you wrap each widget in a
QStackedWidget() and then set then setContentsMagins() on that stack
widget, and add it to the splitter.



On Friday, 23 October 2015 17:01:15 UTC+2, Marcus Ottosson wrote:

Have a look at QSplitter.



On 23 October 2015 at 15:28, Ben Hearn <[email protected]> wrote:

Hello all,

I have a UI that has a few QTableWidgets. The main one is at the top and
the two children are in a horizontal layout below it.

I would like to be able to increase/decrease the height of the main
QTableWidget so the user can change the size as they see fit.

I have the main widgets first column set
to horizontalHeader().setResizeMode(0, QtGui.QHeaderView.Interactive) which
allows the user to change the size of the columns, is there a way to allow
dynamic user based resizing for the entire widget much like the columns?

Cheers,

Ben

-- 
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/32be5d8b-e7b3-45d6-b172-df75729b23de%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/32be5d8b-e7b3-45d6-b172-df75729b23de%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.



-- 


*Marcus Ottosson*
[email protected]


-- 
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/086e16ab-336d-4205-8469-b50a6cba36b0%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/086e16ab-336d-4205-8469-b50a6cba36b0%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.


-- 
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 [email protected].


To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0hCcMSvooLHMmLTKZZdgv%2BCEiomNXPJf4dxdSBimyc5w%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0hCcMSvooLHMmLTKZZdgv%2BCEiomNXPJf4dxdSBimyc5w%40mail.gmail.com?utm_medium=email&utm_source=footer>
.



For more options, visit https://groups.google.com/d/optout.



-- 

*Marcus Ottosson*
[email protected]

-- 
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOACcEFbJMAYjHEf-8S7mLQqDtLHtLBOhHq22r50sftGpg%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOACcEFbJMAYjHEf-8S7mLQqDtLHtLBOhHq22r50sftGpg%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3z8Pow6RfAnXY9Q74SoyP2k4kZAeA6zLdpQv-xAaeUPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to