Permalink
Browse files

fix 'Prev' button placement

  • Loading branch information...
jacob1 committed Oct 11, 2015
1 parent f435cf3 commit 59377e49e550e0a315028646ed907c00f35161a1
Showing with 3 additions and 2 deletions.
  1. +1 −0 src/client/Client.cpp
  2. +1 −1 src/gui/localbrowser/LocalBrowserView.cpp
  3. +1 −1 src/gui/search/SearchView.cpp
@@ -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)
{
@@ -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);
@@ -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());

0 comments on commit 59377e4

Please sign in to comment.