Skip to content

Commit

Permalink
fix 'Prev' button placement
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Oct 11, 2015
1 parent f435cf3 commit 59377e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/client/Client.cpp
Expand Up @@ -680,6 +680,7 @@ std::vector<std::pair<std::string, std::string> > Client::GetServerNotifications

RequestStatus Client::ParseServerReturn(char *result, int status, bool json)
{
lastError = "";
// no server response, return "Malformed Response"
if (status == 200 && !result)
{
Expand Down
2 changes: 1 addition & 1 deletion src/gui/localbrowser/LocalBrowserView.cpp
Expand Up @@ -22,7 +22,7 @@ LocalBrowserView::LocalBrowserView():
pageCount(0)
{
nextButton = new ui::Button(ui::Point(WINDOWW-52, WINDOWH-18), ui::Point(50, 16), "Next \x95");
previousButton = new ui::Button(ui::Point(1, WINDOWH-18), ui::Point(50, 16), "\x96 Prev");
previousButton = new ui::Button(ui::Point(2, WINDOWH-18), ui::Point(50, 16), "\x96 Prev");
undeleteButton = new ui::Button(ui::Point(WINDOWW-122, WINDOWH-18), ui::Point(60, 16), "Rescan");
AddComponent(nextButton);
AddComponent(previousButton);
Expand Down
2 changes: 1 addition & 1 deletion src/gui/search/SearchView.cpp
Expand Up @@ -26,7 +26,7 @@ SearchView::SearchView():
Client::Ref().AddListener(this);

nextButton = new ui::Button(ui::Point(WINDOWW-52, WINDOWH-18), ui::Point(50, 16), "Next \x95");
previousButton = new ui::Button(ui::Point(1, WINDOWH-18), ui::Point(50, 16), "\x96 Prev");
previousButton = new ui::Button(ui::Point(2, WINDOWH-18), ui::Point(50, 16), "\x96 Prev");
tagsLabel = new ui::Label(ui::Point(270, WINDOWH-18), ui::Point(WINDOWW-540, 16), "\boPopular Tags:");
motdLabel = new ui::RichLabel(ui::Point(51, WINDOWH-18), ui::Point(WINDOWW-102, 16), Client::Ref().GetMessageOfTheDay());

Expand Down

0 comments on commit 59377e4

Please sign in to comment.