]> git.lyx.org Git - lyx.git/commit
Fix Disable Editing "Lock" icon protrudes into tab title on macOS
authorDaniel Ramoeller <d.lyx@web.de>
Mon, 22 Feb 2021 10:04:10 +0000 (11:04 +0100)
committerStephan Witt <switt@lyx.org>
Sat, 16 Mar 2024 18:46:49 +0000 (19:46 +0100)
commit58acfdf08600f7f269074ebf90cb18e60ed3dd02
treea703f714227eb25b9ec4367fcea8e8cb64fa7c1a
parentf45c3e032ab066491540275e0aa652a57e72009c
Fix Disable Editing "Lock" icon protrudes into tab title on macOS

On macOS the Disable Editing "Lock" icon protrudes into tab title

Also, since the close button is on the left, the lock is better positioned on the right.

The detour via QIcon is to avoid a pixelated pixmap (because in LyX pixmaps don't adjust by default to the device's pixel ratio correctly).

Also

Fix for bug #12160.

(cherry picked from commit fde432493d62607f8d6a3bd87adc1b1dcded75aa)
src/frontends/qt4/GuiWorkArea.cpp