0
0
0rk2017-03-29 05:59:51
Python
0rk, 2017-03-29 05:59:51

How to resize Edit?

Is it possible to resize the Edit?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rou1997, 2017-03-29
@Rou1997

Yes, the correct container should be used as the centralWidget.

K
Kastuś, 2017-03-29
@Gytim

Fixed size
Either in the width/heigth designer
Or you simply call these properties in the code.
As mentioned above, you can use
the Or container in the Vertical/horizontal/grid Layout designer and shove it into it.
Or in the code to create QHBoxLayout _hLayout;
and then shove _hLayout.addWidget(lineEdit);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question