Quote Originally Posted by meraj ansari View Post
Thanks for quick reply.

I created new "QT designer form" derived from "widget template", placed a vertical box ;layout on form and then placed a button on it. After placing button, button was resized automatically by the effect of vertical box layout and i am not able to resize it. plz check the attached image.
You currently have a layout that is not attached to a parent container widget.

Try this:
  • Create a blank form or widget.
  • Drop your push button on the form.
  • Select the form.
  • On the Designer tool bar select the tool for Layout Vertically. Alternately, use the option in the Form menu.

The form now has the selected layout applied. The layouts you see in the widget palette can be placed on a form, within its existing layout, to contain more complex sub-layouts of widgets.