diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-05-04 14:18:37 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-05-04 14:18:37 (GMT) |
| commit | b0f14e0c542c01c9ecce8528ba631da7ae6fa2a5 (patch) | |
| tree | 1378fc2a7055d8503c0700124527fc0b5deea7e6 /src/gui/profile/ProfileActivity.cpp | |
| parent | 99c560bfd3985d3749d83c715049b3dc2d7beb3b (diff) | |
| download | powder-b0f14e0c542c01c9ecce8528ba631da7ae6fa2a5.zip powder-b0f14e0c542c01c9ecce8528ba631da7ae6fa2a5.tar.gz | |
Fix position of scrolly bio, increase user profile window size
Diffstat (limited to 'src/gui/profile/ProfileActivity.cpp')
| -rw-r--r-- | src/gui/profile/ProfileActivity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/profile/ProfileActivity.cpp b/src/gui/profile/ProfileActivity.cpp index fe6ab80..d690aa5 100644 --- a/src/gui/profile/ProfileActivity.cpp +++ b/src/gui/profile/ProfileActivity.cpp @@ -12,7 +12,7 @@ #include "client/requestbroker/RequestListener.h" ProfileActivity::ProfileActivity(std::string username) : - WindowActivity(ui::Point(-1, -1), ui::Point(236, 200)), + WindowActivity(ui::Point(-1, -1), ui::Point(236, 300)), loading(false), saving(false) { @@ -151,7 +151,7 @@ void ProfileActivity::setUserInfo(UserInfo newInfo) currentY += 10+bio->Size.Y; if(currentY > Size.Y - 20) { - ui::ScrollPanel * scrollPanel = new ui::ScrollPanel(bio->Position, ui::Point(Size.X, Size.Y-30-bio->Position.Y)); + ui::ScrollPanel * scrollPanel = new ui::ScrollPanel(ui::Point(1, bio->Position.Y), ui::Point(Size.X-2, Size.Y-30-bio->Position.Y)); AddComponent(scrollPanel); bio->Position = ui::Point(4, 4); scrollPanel->AddChild(bio); |
