mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 00:44:59 -04:00
release config for YACReaderLibrary + some warnings fixed
This commit is contained in:
@ -80,7 +80,7 @@ void KeySequenceLineEdit::resizeEvent(QResizeEvent * e)
|
||||
QSize szClear = clearButton->sizeHint();
|
||||
//int frameWidth = style()->pixelMetric(QStyle::PM_DefaultFrameWidth);
|
||||
int leftMargin = style()->pixelMetric(QStyle::PM_LayoutLeftMargin);
|
||||
int topMargin = style()->pixelMetric(QStyle::PM_LayoutTopMargin);
|
||||
//int topMargin = style()->pixelMetric(QStyle::PM_LayoutTopMargin);
|
||||
clearButton->move(0 + leftMargin,(e->size().height()-19)/2); //16 is the icon height+1blank pixel
|
||||
|
||||
acceptButton->move( leftMargin + szClear.width(),(e->size().height()-19)/2);
|
||||
|
Reference in New Issue
Block a user