Surrounding white frame in fullscreen

Pavel Sanda sanda at lyx.org
Fri Nov 20 12:37:28 UTC 2020


Hi,

until (at least) Qt 5.7.1 fullscreen was over the whole screen, in newer Qt
(tested 5.11.3) there is now two bright pixel frame around (well visible and
annoying if you use dark color schemes).  This is because the former workaround
trick with setContentsMargins(-2, -2, -2, -2); in fullscreen handler (or
ui-toggle frame lfun) does not work anymore and negative values are not
accepted now.

The margin might be coming from some child widget of QMainWindow, I just dont
know which one. Anyone has idea how to fix that?

Pavel


More information about the lyx-devel mailing list