Thread: QWidget Layouts
View Single Post
Old 08-16-2012, 01:43 PM   #1
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
QWidget Layouts

Can I control the layout of fields on a QWidget or does Qt take care of this automatically?

For example, (picture attached), I want to define the lengths of the input fields and positon one above the other, but Qt has positioned them side by side. I have checked the Qt reference and although the field input length can be limited there does not seem to be a field width property.
Attached Thumbnails
Click image for larger version

Name:	QDialog.gif
Views:	282
Size:	11.3 KB
ID:	90865  
Agama is offline   Reply With Quote