fix: prev and next arrow not vertically centered in some case
This commit is contained in:
parent
7a0ed5bd56
commit
e20562cf16
|
@ -466,9 +466,9 @@ void MainWindow::closeWindow()
|
||||||
void MainWindow::updateWidgetsPosition()
|
void MainWindow::updateWidgetsPosition()
|
||||||
{
|
{
|
||||||
m_closeButton->move(width() - m_closeButton->width(), 0);
|
m_closeButton->move(width() - m_closeButton->width(), 0);
|
||||||
m_prevButton->move(25, (height() - m_prevButton->height()) / 2);
|
m_prevButton->move(25, (height() - m_prevButton->sizeHint().height()) / 2);
|
||||||
m_nextButton->move(width() - m_nextButton->width() - 25,
|
m_nextButton->move(width() - m_nextButton->sizeHint().width() - 25,
|
||||||
(height() - m_prevButton->height()) / 2);
|
(height() - m_prevButton->sizeHint().height()) / 2);
|
||||||
m_bottomButtonGroup->move((width() - m_bottomButtonGroup->width()) / 2,
|
m_bottomButtonGroup->move((width() - m_bottomButtonGroup->width()) / 2,
|
||||||
height() - m_bottomButtonGroup->height());
|
height() - m_bottomButtonGroup->height());
|
||||||
m_gv->move(width() - m_gv->width(), height() - m_gv->height());
|
m_gv->move(width() - m_gv->width(), height() - m_gv->height());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user