We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04aeb3b commit cb91f81Copy full SHA for cb91f81
src/app/qgsrasterlayerproperties.cpp
@@ -1936,8 +1936,8 @@ void QgsRasterLayerProperties::on_pbnHistRefresh_clicked()
1936
1937
1938
//create the image onto which graph and axes will be drawn
1939
- int myImageWidth = pixHistogram->width();
1940
- int myImageHeight = pixHistogram->height();
+ int myImageWidth = pixHistogram->width() - 2;
+ int myImageHeight = pixHistogram->height() - 2; //Take two pixels off to account for the boarder around the QLabel
1941
QPixmap myPixmap( myImageWidth, myImageHeight );
1942
myPixmap.fill( Qt::white );
1943
0 commit comments