fix 'Prev' button placement

This commit is contained in:
jacob1 2015-10-11 02:05:49 -04:00
parent f435cf3881
commit 59377e49e5
3 changed files with 3 additions and 2 deletions

View File

@ -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)
{

View File

@ -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);

View File

@ -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());