Unsolved [Ubuntu] Window in UI editor not the same height as the built window
-
Hi there,
I'm very new to Qt and am having an issue regarding the window size after building the project. In the editor mode, I am placing a widget along with a pushbutton and textbox near the bottom. After I carefully align the pushbutton and textbox to be near the bottom of the window, I build the project. The resulting window shows a clear gap between the pushbutton/label and the bottom of the window (please refer to the picture here - http://imgur.com/Y7JWk5a).
I feel like I'm in a position where I'm so new to Qt that I can't properly debug it. Would anyone here have any idea of what's causing this gap? Padding issue? OS specific issue?
I appreciate any help!
-
Hi and welcome to devnet,
Are you positioning them by hand or are you using Qt's layouts for that ?
-
@SGaist Hi there,
They have been placed using layouts. I just can't seem to understand why the entire window height is increasing in size then what the editor shows.
-
Silly question but are all your elements in layouts ? Not just buttons.