diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-05 20:07:22 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-05 20:07:22 (GMT) |
| commit | 0f4bde939463fca4e3be1ea1cb75b151eeba6f18 (patch) | |
| tree | 1c8c29be424e319f5515c23f86df88b4730d8d0b /src/game/GameView.cpp | |
| parent | 8cadc10f8b33e77e204e1f4b772f96333992c56c (diff) | |
| download | powder-0f4bde939463fca4e3be1ea1cb75b151eeba6f18.zip powder-0f4bde939463fca4e3be1ea1cb75b151eeba6f18.tar.gz | |
Clear search button
Diffstat (limited to 'src/game/GameView.cpp')
| -rw-r--r-- | src/game/GameView.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 387289a..e8ebfda 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -1303,6 +1303,8 @@ void GameView::NotifyNotificationsChanged(GameModel * sender) tempButton = new ui::Button(ui::Point(XRES-20, currentY), ui::Point(15, 15)); tempButton->SetIcon(IconClose); tempButton->SetActionCallback(new CloseNotificationButtonAction(this, *iter)); + tempButton->Appearance.Margin.Left+=2; + tempButton->Appearance.Margin.Top+=2; tempButton->Appearance.BorderInactive = style::Colour::WarningTitle; tempButton->Appearance.TextInactive = style::Colour::WarningTitle; AddComponent(tempButton); |
