1

How to Align Controls depending upon Screen Resolution in Qt ?

I have created UI in QtCreator now when i expand the form the controls inside it remains the same size.

Thanks.

hmuelner
  • 8,093
  • 1
  • 28
  • 39
Bokambo
  • 4,204
  • 27
  • 79
  • 130
  • 1
    You probably missed to set a layout on the centralWidget. See my detailed answer in a similar question here: [link](http://stackoverflow.com/questions/5249224/controls-insist-on-being-too-large-and-wont-resize-in-qtdesigner/5358269#5358269) – Fivos Vilanakis May 31 '11 at 23:59

1 Answers1

2

Use Layouts. Here is general description of them.

Christophe Weis
  • 2,518
  • 4
  • 28
  • 32
Raiv
  • 5,731
  • 1
  • 33
  • 51