Closed ysl-design closed 1 year ago
You are right, non-editable EnumProperties don't require the dropdown icon to be visible as you can click everywhere in the combobox to open the dropdown. Enforcing to show the icon reduces readability in my opinion:
vs.
Yes, this will show more information. Okay, I'll close the issue
Hi, I found that in the noetic version, when EnumProperty is selected, parts of it are hidden when the display width is less than the length of the string. This problem does not occur in the melodic version, probably because the qt version is different. In the melodic version, like this: I think adding cb->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLengthWithIcon) to the EnumProperty::createEditor function, the same settings as in EditableEnumProperty::createEditor should solve this problem, don't you think?
Your environment
echo "$LANG $LC_NUMERIC"
: zh_CN.UTF-8