Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I am trying to insert Qlabels in a QFrame by doing so:
frame = QFrame() QLabel("Title",frame) QLabel("Year",frame)
However, only the last added label is visible, is there something missing ?
@celke What happens is that one of them is on top of the other. Use layout:
frame = QFrame() title_label = QLabel("Title") year_label = QLabel("Year") lay = QVBoxLayout(frame) lay.addWidget(title_label) lay.addWidget(year_label)
This works perfect, thanks