Adjust combobox to fit a dimension label length.
This commit is contained in:
parent
7c55596052
commit
baa107d12f
|
@ -36,6 +36,7 @@
|
|||
- New measurement type separator.
|
||||
- Improve creation by mouse for tool Spline.
|
||||
- Fix incorrect translation of known measurements.
|
||||
- Adjust combobox to fit a dimension label length.
|
||||
|
||||
# Valentina 0.7.49 July 1, 2021
|
||||
- Fix crash.
|
||||
|
|
|
@ -2889,6 +2889,7 @@ void TMainWindow::InitDimensionControls()
|
|||
if (control == nullptr)
|
||||
{
|
||||
control = new QComboBox;
|
||||
control->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
}
|
||||
|
||||
InitDimensionGradation(index, dimension, control);
|
||||
|
|
Loading…
Reference in New Issue
Block a user