Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qwt legend can't fully displayed when dock to right #318

Open
SupperPotato opened this issue Sep 1, 2022 · 0 comments
Open

Qwt legend can't fully displayed when dock to right #318

SupperPotato opened this issue Sep 1, 2022 · 0 comments

Comments

@SupperPotato
Copy link

SupperPotato commented Sep 1, 2022

Describe Your Environment

  • QDarkStyle:3.0.2
  • OS:Windows 10

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.

    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:
image

Expected Results / Proposed Result

Here is the image expected ,the legend fully displayed.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant