summaryrefslogtreecommitdiff
path: root/src/stamps/StampsView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-15 17:13:17 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-15 17:13:17 (GMT)
commit136675b56a8a1862afb41ccee5c14e93e483b964 (patch)
tree8f679477c5e1c0984a5cb9c169e339c1ca0d6e0c /src/stamps/StampsView.cpp
parent45563e97e813cfd21724ad1111e5de3e04679e1a (diff)
downloadpowder-136675b56a8a1862afb41ccee5c14e93e483b964.zip
powder-136675b56a8a1862afb41ccee5c14e93e483b964.tar.gz
Move style into Component
Diffstat (limited to 'src/stamps/StampsView.cpp')
-rw-r--r--src/stamps/StampsView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stamps/StampsView.cpp b/src/stamps/StampsView.cpp
index 883cabd..249248e 100644
--- a/src/stamps/StampsView.cpp
+++ b/src/stamps/StampsView.cpp
@@ -35,7 +35,7 @@ StampsView::StampsView():
}
};
nextButton->SetActionCallback(new NextPageAction(this));
- nextButton->SetAlignment(AlignRight, AlignBottom);
+ nextButton->Appearance.HorizontalAlign = ui::Appearance::AlignRight; nextButton->Appearance.VerticalAlign = ui::Appearance::AlignBottom;
class PrevPageAction : public ui::ButtonAction
{
@@ -48,7 +48,7 @@ StampsView::StampsView():
}
};
previousButton->SetActionCallback(new PrevPageAction(this));
- previousButton->SetAlignment(AlignLeft, AlignBottom);
+ previousButton->Appearance.HorizontalAlign = ui::Appearance::AlignLeft; previousButton->Appearance.VerticalAlign = ui::Appearance::AlignBottom;
class RemoveSelectedAction : public ui::ButtonAction
{