typos fixed
This commit is contained in:
parent
a9f059ede3
commit
4a035ee0ed
@ -81,6 +81,15 @@ namespace
|
|||||||
QskLayoutEngine::QskLayoutEngine()
|
QskLayoutEngine::QskLayoutEngine()
|
||||||
: QGridLayoutEngine( Qt::AlignVCenter, true /*snapToPixelGrid*/ )
|
: QGridLayoutEngine( Qt::AlignVCenter, true /*snapToPixelGrid*/ )
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
When centering something integer based like a QImage
|
||||||
|
inside an odd number of pixels, we end up at x.5 positions.
|
||||||
|
Then snapToPixelGrid will ceil one side and we lose 0.5
|
||||||
|
in height/width. For these type of situations it would be
|
||||||
|
good to be able to disable snapToPixelGrid. Unfortunately
|
||||||
|
this can't be done without recreating the QGridLayoutEngine.
|
||||||
|
TODO ...
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
QskLayoutEngine::~QskLayoutEngine()
|
QskLayoutEngine::~QskLayoutEngine()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user