mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-06 21:25:59 +00:00
Fixed combo boxes in the property view resizing when you modify them and screwing up vertical alignment
This commit is contained in:
parent
87bf3dbfcc
commit
220c54004f
@ -190,6 +190,8 @@ QWidget* CPropertyDelegate::createEditor(QWidget *pParent, const QStyleOptionVie
|
|||||||
if (pOut)
|
if (pOut)
|
||||||
{
|
{
|
||||||
pOut->setFocusPolicy(Qt::StrongFocus);
|
pOut->setFocusPolicy(Qt::StrongFocus);
|
||||||
|
QSize Size = mpModel->data(rkIndex, Qt::SizeHintRole).toSize();
|
||||||
|
pOut->setFixedHeight(Size.height());
|
||||||
}
|
}
|
||||||
|
|
||||||
return pOut;
|
return pOut;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user