diff --git a/UI/Store.cpp b/UI/Store.cpp index a879c6e5f017..d13b72ed7a72 100644 --- a/UI/Store.cpp +++ b/UI/Store.cpp @@ -270,13 +270,16 @@ void ProductView::CreateViews() { cancelButton_->SetVisibility(isDownloading ? V_VISIBLE : V_GONE); // Add star rating, comments etc? - Add(new TextView(entry_.description, ALIGN_LEFT | FLAG_WRAP_TEXT, false)); - float size = entry_.size / (1024.f * 1024.f); - char temp[256]; - sprintf(temp, "%s: %.2f %s", st->T("Size"), size, st->T("MB")); + // Draw each line separately so focusing can scroll. + std::vector lines; + SplitString(entry_.description, '\n', lines); + for (auto &line : lines) { + Add(new TextView(line, ALIGN_LEFT | FLAG_WRAP_TEXT, false))->SetFocusable(true); + } - Add(new TextView(temp)); + float size = entry_.size / (1024.f * 1024.f); + Add(new TextView(StringFromFormat("%s: %.2f %s", st->T("Size"), size, st->T("MB")))); } void ProductView::Update() {