fix 'Prev' button placement
This commit is contained in:
parent
f435cf3881
commit
59377e49e5
@ -680,6 +680,7 @@ std::vector<std::pair<std::string, std::string> > Client::GetServerNotifications
|
|||||||
|
|
||||||
RequestStatus Client::ParseServerReturn(char *result, int status, bool json)
|
RequestStatus Client::ParseServerReturn(char *result, int status, bool json)
|
||||||
{
|
{
|
||||||
|
lastError = "";
|
||||||
// no server response, return "Malformed Response"
|
// no server response, return "Malformed Response"
|
||||||
if (status == 200 && !result)
|
if (status == 200 && !result)
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,7 @@ LocalBrowserView::LocalBrowserView():
|
|||||||
pageCount(0)
|
pageCount(0)
|
||||||
{
|
{
|
||||||
nextButton = new ui::Button(ui::Point(WINDOWW-52, WINDOWH-18), ui::Point(50, 16), "Next \x95");
|
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");
|
undeleteButton = new ui::Button(ui::Point(WINDOWW-122, WINDOWH-18), ui::Point(60, 16), "Rescan");
|
||||||
AddComponent(nextButton);
|
AddComponent(nextButton);
|
||||||
AddComponent(previousButton);
|
AddComponent(previousButton);
|
||||||
|
@ -26,7 +26,7 @@ SearchView::SearchView():
|
|||||||
Client::Ref().AddListener(this);
|
Client::Ref().AddListener(this);
|
||||||
|
|
||||||
nextButton = new ui::Button(ui::Point(WINDOWW-52, WINDOWH-18), ui::Point(50, 16), "Next \x95");
|
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:");
|
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());
|
motdLabel = new ui::RichLabel(ui::Point(51, WINDOWH-18), ui::Point(WINDOWW-102, 16), Client::Ref().GetMessageOfTheDay());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user