summaryrefslogtreecommitdiff
path: root/indra/llui/llflatlistview.h
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-02-04 15:54:56 +0200
committerMike Antipov <mantipov@productengine.com>2010-02-04 15:54:56 +0200
commit667ae0b9a31318d43d36cb6c8cb73a83e1470009 (patch)
treeacaf5b53136383812ca2cf30675ee8d9ccb5cb26 /indra/llui/llflatlistview.h
parent56ca1aebb866b7d7e1526e31797dd7e07fcb74a8 (diff)
Fixed critical bug EXT-4845 (Create padding around text messages in the side tray panels)
- moved "No Items" textbox params to widget (flat_list_view.xml) - set default vertical/horizontal padding to 10 px - they can be overridden in panel's xml if necessary. --HG-- branch : product-engine
Diffstat (limited to 'indra/llui/llflatlistview.h')
-rw-r--r--indra/llui/llflatlistview.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llui/llflatlistview.h b/indra/llui/llflatlistview.h
index 949a731507..92cb40332e 100644
--- a/indra/llui/llflatlistview.h
+++ b/indra/llui/llflatlistview.h
@@ -35,8 +35,8 @@
#include "llpanel.h"
#include "llscrollcontainer.h"
+#include "lltextbox.h"
-class LLTextBox;
/**
* LLFlatListView represents a flat list ui control that operates on items in a form of LLPanel's.
@@ -108,6 +108,9 @@ public:
/** padding between items */
Optional<U32> item_pad;
+ /** textbox with info message when list is empty*/
+ Optional<LLTextBox::Params> no_items_text;
+
Params();
};