summaryrefslogtreecommitdiff
path: root/src/preview/PreviewView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-19 18:05:44 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-19 18:05:44 (GMT)
commit9a949395857c54ea7a9febc80e1be0d8a4c9089b (patch)
tree228556c573d9f44686c930090a7d92a09eaf8e7b /src/preview/PreviewView.cpp
parentc9bffd30a624f4f38596629776023d63f1aaa7c0 (diff)
downloadpowder-9a949395857c54ea7a9febc80e1be0d8a4c9089b.zip
powder-9a949395857c54ea7a9febc80e1be0d8a4c9089b.tar.gz
Correct comment page sizing
Diffstat (limited to 'src/preview/PreviewView.cpp')
-rw-r--r--src/preview/PreviewView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preview/PreviewView.cpp b/src/preview/PreviewView.cpp
index 6eb3f5f..ff708c6 100644
--- a/src/preview/PreviewView.cpp
+++ b/src/preview/PreviewView.cpp
@@ -509,6 +509,7 @@ void PreviewView::NotifyCommentsChanged(PreviewModel * sender)
tempUsername->Appearance.VerticalAlign = ui::Appearance::AlignBottom;
maxY += 16;
tempComment = new ui::Label(ui::Point(0, 0), ui::Point(Size.X-((XRES/2) + 10), -1), comments[i].comment);
+ tempComment->SetMultiline(true);
tempComment->Appearance.HorizontalAlign = ui::Appearance::AlignLeft;
tempComment->Appearance.VerticalAlign = ui::Appearance::AlignTop;
tempComment->SetTextColour(ui::Colour(180, 180, 180));