diff options
-rw-r--r-- | src/gui/emotewindow.cpp | 7 | ||||
-rw-r--r-- | src/gui/emotewindow.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/emotewindow.cpp b/src/gui/emotewindow.cpp index 61b5a0dde..4371b41fc 100644 --- a/src/gui/emotewindow.cpp +++ b/src/gui/emotewindow.cpp @@ -226,4 +226,11 @@ void EmoteWindow::widgetResized(const gcn::Event &event) mTabs->adjustWidget(mScrollColorPage); mColorPage->setSize(mScrollColorPage->getWidth(), mScrollColorPage->getHeight()); + mEmotePage->widgetResized(event); +} + +void EmoteWindow::widgetMoved(const gcn::Event &event) +{ + Window::widgetMoved(event); + mEmotePage->widgetResized(event); } diff --git a/src/gui/emotewindow.h b/src/gui/emotewindow.h index f65636e1a..a9002117e 100644 --- a/src/gui/emotewindow.h +++ b/src/gui/emotewindow.h @@ -63,6 +63,8 @@ class EmoteWindow final : public Window void widgetResized(const gcn::Event &event) override; + void widgetMoved(const gcn::Event &event) override; + private: TabbedArea *mTabs; EmotePage *mEmotePage; |