0

Is it possible to create a GUI in C++/Qt that will stretch seamless across the screen? I don't refer to a rearrangement of the GUI elements (buttons/text etc..), I mean a complete change in the aspect ratio of the GUI as it were a plain image.

Gianluca Ghettini
  • 11,129
  • 19
  • 93
  • 159

1 Answers1

2

Qt used size policies Qt doc to define how the GUIs resize. Set the elements to QSizePolicy::Expanding that should consume the extra space.

JustMaximumPower
  • 1,257
  • 3
  • 11
  • 22