- restoreButton->setGeometry(w - TranslucentButton::pixels - 9,
- h - TranslucentButton::pixels - 9, TranslucentButton::pixels,
+ restoreButton->setGeometry(
+ w - TranslucentButton::pixels - MARGIN,
+ h - TranslucentButton::pixels - MARGIN,
+ TranslucentButton::pixels,
+ TranslucentButton::pixels);
+
+ if (hasChild(progress)) {
+ progress->setGeometry(0, h - progress->thickness(),
+ w, progress->thickness());
+ }
+ if (hasChild(previousButton)) {
+ previousButton->setGeometry(
+ MARGIN,
+ h - TranslucentButton::pixels - MARGIN,
+ TranslucentButton::pixels,
+ TranslucentButton::pixels);
+ }
+ if (hasChild(nextButton)) {
+ nextButton->setGeometry(
+ w - TranslucentButton::pixels - MARGIN,
+ MARGIN,
+ TranslucentButton::pixels,