summaryrefslogtreecommitdiff
path: root/src/search/SearchView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-05 19:39:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-05 19:39:39 (GMT)
commit8cadc10f8b33e77e204e1f4b772f96333992c56c (patch)
tree1e03693797490cbea0b743156da6eb17d22033c0 /src/search/SearchView.cpp
parent06112a12a0c9dbf596fb5e3ef0345d918a641596 (diff)
downloadpowder-8cadc10f8b33e77e204e1f4b772f96333992c56c.zip
powder-8cadc10f8b33e77e204e1f4b772f96333992c56c.tar.gz
Icon adjustments
Diffstat (limited to 'src/search/SearchView.cpp')
-rw-r--r--src/search/SearchView.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/search/SearchView.cpp b/src/search/SearchView.cpp
index ddbf49a..d5aec30 100644
--- a/src/search/SearchView.cpp
+++ b/src/search/SearchView.cpp
@@ -31,7 +31,8 @@ SearchView::SearchView():
v->doSearch();
}
};
- searchField = new ui::Textbox(ui::Point(60, 10), ui::Point((XRES+BARSIZE)-226, 16), "");
+ searchField = new ui::Textbox(ui::Point(60, 10), ui::Point((XRES+BARSIZE)-226, 16), "", "[search]");
+ searchField->Appearance.icon = IconSearch;
searchField->Appearance.HorizontalAlign = ui::Appearance::AlignLeft;
searchField->Appearance.VerticalAlign = ui::Appearance::AlignMiddle;
searchField->SetActionCallback(new SearchAction(this));