mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kdeui: set KIntNumInput and KDoubleNumInput layouts margin to zero
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
7b9b0eee9e
commit
e4ff263ec7
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,7 @@ KIntNumInput::KIntNumInput(QWidget* parent)
|
|||
{
|
||||
d->validator = new KIntValidator(this);
|
||||
QHBoxLayout* hboxlayout = new QHBoxLayout(this);
|
||||
hboxlayout->setMargin(0);
|
||||
d->slider = new QSlider(this);
|
||||
d->slider->setVisible(false);
|
||||
hboxlayout->addWidget(d->slider);
|
||||
|
@ -225,6 +226,7 @@ KDoubleNumInput::KDoubleNumInput(QWidget *parent)
|
|||
{
|
||||
d->validator = new KDoubleValidator(this);
|
||||
QHBoxLayout* hboxlayout = new QHBoxLayout(this);
|
||||
hboxlayout->setMargin(0);
|
||||
d->slider = new QSlider(this);
|
||||
d->slider->setVisible(false);
|
||||
hboxlayout->addWidget(d->slider);
|
||||
|
|
Loading…
Add table
Reference in a new issue