Is the effect gone, when resizing the plot ?
No, these effect gone when I switch theme of application
Has your theme change an effect on the geometry of the plot ?
I guess not, as I'm first time working on this qwt libraries, and theme settings not affecting geometry of the plot, as no configuration done for this.
Could you add more items + setting a canvas background ?
I'm using dark.qss file to set stylesheet for default and dark theme. And I'm using QGraphicsView not canvas
So based on the selection of theme, it changes the color of objects inside the application.
Like example below,(darktheme.qss)
{
color: #eff0f1;
background-color: #313634;
selection-background-color:#3dae9;
selection-color: #eff0f1;
}
{
spacing: 5px;
outline: none;
color: #e4f3f3;
margin-bottom: 3px;
}
QWidget
{
color: #eff0f1;
background-color: #313634;
selection-background-color:#3dae9;
selection-color: #eff0f1;
}
QCheckBox
{
spacing: 5px;
outline: none;
color: #e4f3f3;
margin-bottom: 3px;
}
To copy to clipboard, switch view to plain text mode
I have tried to remove everything from dark.qss, just to check does this file affecting while switching theme. So yes after removing dark.qss everything is looks proper, so some settings in the dark.qss affecting this grid, but don't understand which one. The point is I have not use any configuration related to any qwt libraries.
Bookmarks