diff options
| author | jacob1 <jfu614@gmail.com> | 2012-09-06 15:33:30 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-06 23:38:09 (GMT) |
| commit | 76477e1b46b5ca46ba6ddd42ad9a533c86c29e5d (patch) | |
| tree | 3f51b8128046a553e64ef610fa1bbf5f6f361150 /src/search/SearchView.cpp | |
| parent | 2dcdca27610f740baa6b984ca707dd56e7099f44 (diff) | |
| download | powder-76477e1b46b5ca46ba6ddd42ad9a533c86c29e5d.zip powder-76477e1b46b5ca46ba6ddd42ad9a533c86c29e5d.tar.gz | |
Some improvements to the appearence of the save browser and preview
Make huge labels not so huge, fix color of some buttons
Diffstat (limited to 'src/search/SearchView.cpp')
| -rw-r--r-- | src/search/SearchView.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/search/SearchView.cpp b/src/search/SearchView.cpp index 7834c93..04654d6 100644 --- a/src/search/SearchView.cpp +++ b/src/search/SearchView.cpp @@ -20,8 +20,8 @@ SearchView::SearchView(): nextButton = new ui::Button(ui::Point(XRES+BARSIZE-52, YRES+MENUSIZE-18), ui::Point(50, 16), "Next \x95"); previousButton = new ui::Button(ui::Point(1, YRES+MENUSIZE-18), ui::Point(50, 16), "\x96 Prev"); - infoLabel = new ui::Label(ui::Point(51, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-102, 16), "Loading..."); - tagsLabel = new ui::Label(ui::Point(51, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-102, 16), "\boPopular Tags:"); + infoLabel = new ui::Label(ui::Point(260, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-520, 16), "Page 1 of 1"); + tagsLabel = new ui::Label(ui::Point(270, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-540, 16), "\boPopular Tags:"); motdLabel = new ui::RichLabel(ui::Point(51, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-102, 16), Client::Ref().GetMessageOfTheDay()); class SearchAction : public ui::TextboxAction @@ -91,6 +91,7 @@ SearchView::SearchView(): favButton->SetActionCallback(new FavAction(this)); favButton->Appearance.HorizontalAlign = ui::Appearance::AlignCentre; favButton->Appearance.VerticalAlign = ui::Appearance::AlignMiddle; + favButton->Appearance.BorderInactive = ui::Colour(170,170,170); AddComponent(favButton); class ClearSearchAction : public ui::ButtonAction @@ -110,6 +111,7 @@ SearchView::SearchView(): clearSearchButton->Appearance.Margin.Top+=2; clearSearchButton->Appearance.HorizontalAlign = ui::Appearance::AlignCentre; clearSearchButton->Appearance.VerticalAlign = ui::Appearance::AlignMiddle; + clearSearchButton->Appearance.BorderInactive = ui::Colour(170,170,170); AddComponent(clearSearchButton); class NextPageAction : public ui::ButtonAction |
