[Solved] Visual artifacts on the form after resizing
-
After resizing widget, I get strange visual artifacts on the form:
!https://dl.dropboxusercontent.com/u/73455782/artefacts.png(Visual artifacts on the form)!The strangest thing is, that in similar widget everything is fine:)
!https://dl.dropboxusercontent.com/u/73455782/no_artifacts.png(No artifacts)!I am using Qt 5.2.1 (MSVC 2010, x86) and QCustomPlot 1.2.1 (latest).
How can I solve this problem?
-
Hi,
Not really sure, but I do believe it has to do with the available size on the screen. To 'force' the text to be displayed correctly try to set the sizeHint and sizeMinimum so that the re-size never tries to shrink the widget below the minimum size. To get some more space to show all other widgets you could set the layout margins to have less pixels there. That will make the space between the widgets smaller, given the real widgets more room to re-size. -
Solved it, replacing demo push button and line edit at the bottom of the form)