Open mwindowshz opened 4 years ago
Thanks for your bug report! It's probably the border of the hidden window being rendered. I'll check it.
Hi
I found a solution for this:
EnahncedWindow.h
line 74
I removed this line
//cvui::beginRow(frame, mX + std::lround(10*mFontScale/cvui::DEFAULT_FONT_SCALE), mY + std::lround(30*mFontScale/cvui::DEFAULT_FONT_SCALE), mWidth - scaledTitleHeight, mHeight - scaledTitleHeight);
whithout this the image is in place
Hope this is a good solution.
Great, thank you. As soon as your PR is merged, the problem should be gone. If anyone is facing the issue, check the code snippet above.
EnhancedWindow draws image outside of window
When trying to draw an image in EnhancedWindow using
Image is displayed with some offset to the left and bottom and not in the "window" area:
hope there is a solution Thanks M.