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. For more options, visit https://groups.google.com/d/optout.
