diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-08-27 23:14:25 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-08-27 23:14:25 +0200 |
| commit | c4bbecaf23c5664b69a47f5a9a2d1be5e16d5606 (patch) | |
| tree | 6e179f66f4d0ec4afeeb22db6f85c261ae973eb5 /unity-shared | |
| parent | a5ea2d133611b96aba4ec21ee8635a6ab767853e (diff) | |
SearchBar: use point-size for hint font
In this way it supports font scaling (bzr r3860.2.7)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/SearchBar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unity-shared/SearchBar.cpp b/unity-shared/SearchBar.cpp index ab453c060..fa913bb07 100644 --- a/unity-shared/SearchBar.cpp +++ b/unity-shared/SearchBar.cpp @@ -65,7 +65,7 @@ const RawPixel BOT_ARROW_MAX_HEIGHT = 8_em; const RawPixel FILTER_HORIZONTAL_MARGIN = 8_em; // Fonts -const std::string HINT_LABEL_FONT_SIZE = "20px"; +const std::string HINT_LABEL_FONT_SIZE = "15"; // == 20px const std::string HINT_LABEL_FONT_STYLE = "Italic"; const std::string HINT_LABEL_DEFAULT_FONT = "Ubuntu " + HINT_LABEL_FONT_STYLE + " " + HINT_LABEL_FONT_SIZE; |
