-
Notifications
You must be signed in to change notification settings - Fork 138
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
view size is much smaller than windows size #24
Comments
What is your OS? Windows or Linux? |
Linux. Debian 10. compiling from source, linked to Opencascade 7.4 or 7.6. |
Can confirm that. Windows 10, linking to Opencascade from Installer from their website, version 7.5.0 |
I think, I have found workaround. Let's say, you have a main window where occView is used. In our case it's occQt.cpp class. So, in header file I have added:
In cpp file:
in OccView class I added another public method:
It helped |
When I compile and run against occt 7.4 and occt 7.5 , the view size is much smaller than window size. The problem goes away after first resize. How to fix the problem ?
many thanks. Great sample.
The text was updated successfully, but these errors were encountered: