[Description of the issue]
I applyed the qdarkstyle in my project which contians qwtplots,when I set Qwt legend dock to right, legend can't fully display.
auto m_legend = new QwtLegend(ui->qwtPlot->canvas());
ui->qwtPlot->insertLegend(m_legend,QwtPlot::RightLegend);
m_legend->setMinimumWidth(90);
m_legend->setDefaultItemMode(QwtLegendData::Checkable);
auto curve=new QwtPlotCurve("testcureve01");
curve->attach(ui->qwtPlot);
Actual Result
Here is the image actually:
Expected Results / Proposed Result
Here is the image expected ,the legend fully displayed.
Describe Your Environment
Language
C++
Description / Steps to Reproduce [if necessary]
[Description of the issue] I applyed the qdarkstyle in my project which contians qwtplots,when I set Qwt legend dock to right, legend can't fully display.
Actual Result
Here is the image actually:![image](https://user-images.githubusercontent.com/37609972/187855817-ab05c701-b886-480e-a261-b5e5304ace91.png)
Expected Results / Proposed Result
Here is the image expected ,the legend fully displayed.![image](https://user-images.githubusercontent.com/37609972/187854875-856f3c19-0692-41f3-b0df-20a7639739e0.png)