poonam
poonam

Reputation: 810

Python setGeometry function

I am working with QT designer to design .ui files.I converted .ui to .py file using pyuic4 compiler and coded it. When i try to run it,it does not show the ui file i designed.All ui components on form are overlapped . But if i use setgeometry function to locate those components on form then it works fine.

Upvotes: 0

Views: 488

Answers (1)

Gary van der Merwe
Gary van der Merwe

Reputation: 9523

How are you doing the layout of the form? I am guessing that you are manually positioning and sizing the widgets.

You should rather use the qt layout managers. Here is some documentation on how to do this:

Upvotes: 1

Related Questions