aboutsummaryrefslogtreecommitdiff
path: root/include/SearchBar.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-25 04:15:17 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-25 04:15:17 +0200
commiteac2ace1c14c1ae0564d757b26a359c6bd4b754a (patch)
tree855b98a19b6a302663a2d26e3ed6ca69110d1ce0 /include/SearchBar.hpp
parent6cb237cfba67e1a15d475dccfb706bcc179afe71 (diff)
Matrix: fetch previous messages when reaching the top
Diffstat (limited to 'include/SearchBar.hpp')
-rw-r--r--include/SearchBar.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/SearchBar.hpp b/include/SearchBar.hpp
index b4abd77..a90c69d 100644
--- a/include/SearchBar.hpp
+++ b/include/SearchBar.hpp
@@ -43,6 +43,9 @@ namespace QuickMedia {
int text_autosearch_delay;
int autocomplete_search_delay;
bool caret_visible;
+
+ float padding_vertical = 20.0f;
+ float background_margin_vertical = 4.0f;
private:
void clear_autocomplete_if_text_not_substring();
void clear_autocomplete_if_last_char_not_substr();