diff options
author | Eugene Sandulenko | 2016-05-02 13:26:48 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-02 15:19:07 +0200 |
commit | bf06b3bc18bbcefd3574f7485f48e256ee498ff5 (patch) | |
tree | b5ed8d4481cec174bdc3b45dbbd2e64d451254e1 /gui/widgets | |
parent | 7ffa209a79e6158e5e97aca93b4c961b739e8ec1 (diff) | |
download | scummvm-rg350-bf06b3bc18bbcefd3574f7485f48e256ee498ff5.tar.gz scummvm-rg350-bf06b3bc18bbcefd3574f7485f48e256ee498ff5.tar.bz2 scummvm-rg350-bf06b3bc18bbcefd3574f7485f48e256ee498ff5.zip |
GUI: Initialize widget padding
Diffstat (limited to 'gui/widgets')
-rw-r--r-- | gui/widgets/popup.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/widgets/popup.cpp b/gui/widgets/popup.cpp index b10b4fb5fe..0b2ea9fd4e 100644 --- a/gui/widgets/popup.cpp +++ b/gui/widgets/popup.cpp @@ -388,6 +388,8 @@ PopUpWidget::PopUpWidget(GuiObject *boss, int x, int y, int w, int h, const char _type = kPopUpWidget; _selectedItem = -1; + + _leftPadding = _rightPadding = 0; } void PopUpWidget::handleMouseDown(int x, int y, int button, int clickCount) { |