mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
Allow negative offset in GuiLine (#13102)
(cherry picked from commit 2244ac3dee
)
This commit is contained in:
parent
5237ccd4eb
commit
f56fcd01a2
@ -56,7 +56,10 @@ GuiLine::GuiLine(QWidget * parent) : InsetParamsWidget(parent)
|
||||
addCheckedWidget(WidthLE, WidthValueL);
|
||||
addCheckedWidget(HeightLE, HeightValueL);
|
||||
|
||||
OffsetLE->setValidator(unsignedGlueLengthValidator(OffsetLE));
|
||||
// Set up a signed glue length validator
|
||||
LengthValidator * v = new LengthValidator(OffsetLE);
|
||||
v->setBottom(GlueLength());
|
||||
OffsetLE->setValidator(v);
|
||||
WidthLE->setValidator(unsignedGlueLengthValidator(WidthLE));
|
||||
HeightLE->setValidator(unsignedGlueLengthValidator(HeightLE));
|
||||
|
||||
|
@ -58,6 +58,7 @@ What's new
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
- Allow negative offset values in Horizontal Line dialog (bug 13102).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
Loading…
Reference in New Issue
Block a user