Commit 2e842890 authored by Ellen Dekkers's avatar Ellen Dekkers

Set correct offsets when resizing the viewer (Verified: resizing the viewer to...

Set correct offsets when resizing the viewer (Verified: resizing the viewer to its current size does not change anything)

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10467 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 514291c4
......@@ -1278,9 +1278,7 @@ void Core::resizeViewers(int _width, int _height ){
lastWidth_ = coreWidget_->glView_->width();
lastHeight_ = coreWidget_->glView_->height();
//+4,+20 to to get the correct dimension when using snapshotFunction
// coreWidget_->glView_->resize(_width+4, _height+20);
// offset +6, +6: Verified: resizing with current sizes leads to no effect
coreWidget_->glView_->resize(_width+6, _height+6);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment