Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
understanding the layouts
amigo421 last edited by
trying to design UI in Qt designer,
it doesn't look similar to previous skills in C# with simplest anchor property.
I see that I can to use various layout objects and they do what I need,
expecting the only thing,
I can't find the setting to anchor the controls to various sides.
looks like layouts do not resize together with form resizing by user
how can I fix this?
Did you already read the Using layouts in Designer documentation ? That should you get started
amigo421 last edited by amigo421
I've read this but you are right - I forgot to apply top level layout
now it works
however still have a question , I could not find the answer for this
when I have two items with horizontal layout
(left side is a text box, right side is a grouped vertical layout of various buttons)
when I'm resizing the form I 'd like to resize left item (editbox) only and keep right item(group of the buttons) with constant width.
currently both groups are resized
coiuld you assist please?
You can put your buttons in a QWidget and then use setFixedSize