mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
plasma: use the vertical spacing for the maximum row height in lockout applet
it is the same as the horizontal spacing tho Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
7fe699fb54
commit
8f66e007cc
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ LockoutDialog::LockoutDialog(QWidget *parent)
|
|||
this, SLOT(slotNo())
|
||||
);
|
||||
m_layout->addItem(m_nobutton, 3, 1, 1, 1);
|
||||
m_layout->setRowMaximumHeight(3, m_nobutton->preferredSize().height() + m_layout->horizontalSpacing());
|
||||
m_layout->setRowMaximumHeight(3, m_nobutton->preferredSize().height() + m_layout->verticalSpacing());
|
||||
m_widget->setLayout(m_layout);
|
||||
|
||||
m_scene->addItem(m_widget);
|
||||
|
|
Loading…
Add table
Reference in a new issue