Doh! I assumed ui_inputs and ui_outputs were QWidgets, not QLayouts -
sorry!
Try setStretch or setStretchFactor instead - unfortunately, my Qt
Designer is broken, so I can't check those myself.
Regards, Tony
On 12/07/2021 12:26 pm, Nicholas Yue wrote:
Hi Tony,
Are you able to share th
Hi Tony,
Are you able to share the method/API call to set the minimum width ?
Cheers
On Sun, 11 Jul 2021 at 18:12, Tony Rietwyk wrote:
> Hi Nicholas,
>
> You could set a minimum width on them based on the expected width - don't
> forget to set it back to 0 when you add their true content.
>
Hi Nicholas,
You could set a minimum width on them based on the expected width -
don't forget to set it back to 0 when you add their true content.
Regards, Tony
On 12/07/2021 7:27 am, Nicholas Yue wrote:
Hi,
I have a horizontal layout, self.viewHorizontalLayout
I am adding the following i
Hi,
I have a horizontal layout, self.viewHorizontalLayout
I am adding the following items
# Inputs/View/Outputs panel
self.ui_inputs = QtWidgets.QVBoxLayout()
self.ui_inputs.addStretch(1)
# inputs.addWidget(QPushButton('inputs'))
self.viewHorizontalLayout.
> How did you create this project?
it's just a qmake (.pro) file. i compile and run from within Qt Creator. i'm
not using MSDev (VS).
qt creator simply doesn't make it past the link stage.
-dave
___
Interest mailing list
Interest@qt-project.org
https:/
On Saturday, 10 July 2021 09:28:43 PDT David M. Cotter wrote:
> and yes, i think you're right, i think somebody's not quoting their paths...
> note above a couple places start "C:\Program "... but then spin off into
> outer space... later on the 2nd one picks up with " Files (x86)\..." and
> conti