Solved resizing....
-
@stephane78
here is a mainwinow that does resizing
https://www.dropbox.com/s/4f3d5fworwtt3g8/stephaneresize.zip?dl=0Explain to me the incorrect part as it does 100% as i want it to?
-
OK,the only difference with my mainwindow is that mine doesn't contain a centralwidget but contains layouts.does the central widget do the resizing ? is there any mean to send you my test project ?
-
and I don't use frames too in my mainwindow...
-
@stephane78
Well the layout is on the central widget.
So in that sense yes.Do you have dropbox ? very easy to share that way.
just paste link here. -
the frames are just to have areas to have different layouts in.
in right and left side. Could also just been a widget -
-
you can try to download my project?
I haven't put any central widget and that is probably my problem.did you put a vertical or horizontal layout in the central widget ? -
@stephane78
Already on it.
Yes it seems you dont put a layout on toplevel
widget so that is why its not working for you.I will return project shortly.
I changed main and "form" -
-
hi
picture of where u needed to add layout.
It dont matter if horz or vert. that just want u need. -
Ok thank you mrjj,
so even the qwidget and qmainwindow can be resized , I had this problem because I havent' put a layout in central widget.
ok my problem is solved. -
@stephane78
Ok super to hear.Yes all can be re-sized. All Widgets.
If you need special / complex layout. you can use a qwidget as placeholder for a
layout so you can easy have layouts in layouts if needed.