mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
fix stylesheet of VOpenedListMenu
This commit is contained in:
parent
ab824946e8
commit
79de92238c
@ -36,7 +36,9 @@ VOpenedListMenu::VOpenedListMenu(VEditWindow *p_editWin)
|
|||||||
{
|
{
|
||||||
// Force to display separator text on Windows and macOS.
|
// Force to display separator text on Windows and macOS.
|
||||||
setStyle(QStyleFactory::create("Fusion"));
|
setStyle(QStyleFactory::create("Fusion"));
|
||||||
setStyleSheet("::separator { color: #009688; height: 15px; padding-top: 5px; }");
|
int separatorHeight = 20 * VUtils::calculateScaleFactor();
|
||||||
|
QString style = QString("::separator { color: #009688; height: %1px; padding-top: 3px; }").arg(separatorHeight);
|
||||||
|
setStyleSheet(style);
|
||||||
|
|
||||||
setToolTipsVisible(true);
|
setToolTipsVisible(true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user