Unsolved how to use sizeAdjustpolicy of QcomboBox?
-
i was experimenting with the functions of QcomboBox. In qt documentation in the page of qcomboBox there is a public type(sizeAdjustPolicy). i was trying to use i. i clicked on to see its code.But did not understand it. What should be the proper code of using sizeAdjustpolicy of QcomboBox.
-
Hi
Like
ui->comboBox->setSizeAdjustPolicy( QComboBox::SizeAdjustPolicy::AdjustToMinimumContentsLength);