Suppaman
8th May 2013, 22:10
Hi all
Quickly explanation. Main window with central widget set to horizontal layout mode. Two widgets inside, one is a QListWidget and the second is a QTabWidget. Since the QListWidget will show only icons in a single "column" I want to set the width of this widget with a fixed value of 50. I'm using QT Designed to manage the window creation. In these condition it seem I can no set the width of QListWidget to a size minor than 256. The "geometry" property connected to this control into QT Designed is disabled and I can not modify it. Set horizontan "sizePolicy" as fixed and settings "minumunSize" to 50 doesn't work and the size is always 256...
Someone have an explanation to this behaviour and can suggest me a trick for set the desired width?
Thank you
Quickly explanation. Main window with central widget set to horizontal layout mode. Two widgets inside, one is a QListWidget and the second is a QTabWidget. Since the QListWidget will show only icons in a single "column" I want to set the width of this widget with a fixed value of 50. I'm using QT Designed to manage the window creation. In these condition it seem I can no set the width of QListWidget to a size minor than 256. The "geometry" property connected to this control into QT Designed is disabled and I can not modify it. Set horizontan "sizePolicy" as fixed and settings "minumunSize" to 50 doesn't work and the size is always 256...
Someone have an explanation to this behaviour and can suggest me a trick for set the desired width?
Thank you