On Sun, Mar 05, 2023 at 10:03:15PM +0100, Jean-Marc Lasgouttes wrote:
Le 03/03/2023 à 19:56, Enrico Forestieri a écrit :
Any reason for not doing it?
Go for it.
I have a doubt about this one. Are you sure that we do not care about fw?
#if QT_VERSION < 0x060000
const int fw = style()->pixelMetric(QStyle::PM_MenuPanelWidth, 0, this);
layout_->setMargin(fw);
#else
layout_->setContentsMargins(0, 0, 0, 0);
#endif
I am not sure either. It might have been a thinko or done on purpose.
Unfortunately now I don't remember anymore.
--
Enrico
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel