Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd1437
)
ecere/gui/ListBox: Enabling indenting when having multiple levels of rows with 'isHea...
author
Jerome St-Louis
<jerome@ecere.com>
Thu, 2 Aug 2012 14:46:27 +0000
(10:46 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 2 Aug 2012 14:46:27 +0000
(10:46 -0400)
ecere/src/gui/controls/ListBox.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/controls/ListBox.ec
b/ecere/src/gui/controls/ListBox.ec
index
ff9b7de
..
7a2777b
100644
(file)
--- a/
ecere/src/gui/controls/ListBox.ec
+++ b/
ecere/src/gui/controls/ListBox.ec
@@
-2288,10
+2288,11
@@
private:
DataRow parent;
Bitmap icon = row.icon ? row.icon.bitmap : null;
int collapseRowStart;
+ bool lastWasHeader = row.header;
for(parent = row.parent; parent; parent = parent.parent)
{
- if(!parent.header)
+ if(!parent.header
|| lastWasHeader
)
{
if(style.treeBranch)
indent += 20;