[QtDesigner] Can't set layout for Widget under a QGridLayout
-
Hello,
It's my first time using QtDesigner, and I can't figure out why I have this "red circle" icon around my QcmEntryGuess Widget. I figured out those are supposed to be indicating "those widget do not have a layout" => no responsive design
But unlike the vanilla QWidgets, I cannot set their layout from qtdesigner. I don't understand what am I doing wrong here ?
Is the lack of layout responsible for those QcmEntryGuess to stack in a single column too ? -
@Aramir
I don't know anything aboutQcmEntryGuess
. Usually in Qt Designer you cannot set the layout on a widget until you have dragged a child widget onto it. Irritating but that's how it is. You can even delete the child widget after setting the parent's layout and then it will retain it. -
Thank you for the answer.
Setting a child did enable the layout selection. I don't understand the logic behind that at all but ok.QcmEntryGuess
areQWidget
I've created on the side. They're only aQLabel
nested in two layoutAlthought my QGridLayout is still only consisted of one row. I'm probably missunderstanding one of its property