Solved Sort widgets
-
The widget can't move in the middle.
move X, FixedSize X
It's just a widget with three buttons, and I put this widget in the stackwidget. -
-
What is your question? You have a vertical layout with 3 items and 4 spacers, and that's what your screenshot looks like. If you were expecting the whole widget to grow vertically, look at the size of the widget and/or the size of the container the widget is inside.
-
-
Well, it's a shot, though.
Thank you for your reply.
But how did you make the frame of the widget invisible? -
@IknowQT
I only created a new empty widget!then
-
Is there a way to remove the frames of widgets that have already been created?
A widget with frames continues to be created. ;;;;;
-
Hi
Are you using Windows 7 ?Anyway, the frame is the Windows border ? Drawn by the os ?
You can removte that with
widget->setWindowFlags(Qt::Window | Qt::FramelessWindowHint);But Not sure if that is the border you mean. Do notet that you lose the ability to move and close the window then as that is placed in the Titlebar.
-
-
We are developing it in Windows 10 visual stdio 2019.
-
Ok. its the title bar that confuses me.
But I suddenly recalled that stand-alone Designer is a multiple document interface app and uses Qt MDI that
shows captions.So no. the Widget will show as a window While Designing.
However, the Designer inside Creator will not.