Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe8380
)
ecere/gui/Stacker: Fixed issue when not using scroller buttons
author
Jerome St-Louis
<jerome@ecere.com>
Thu, 15 Oct 2015 00:12:44 +0000
(20:12 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Mon, 21 Dec 2015 19:11:58 +0000
(14:11 -0500)
- Broken by
897a128846dc0ed77cee5dce05a54cf16a48590c
ecere/src/gui/controls/Stacker.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/controls/Stacker.ec
b/ecere/src/gui/controls/Stacker.ec
index
9af6450
..
0eb1e75
100644
(file)
--- a/
ecere/src/gui/controls/Stacker.ec
+++ b/
ecere/src/gui/controls/Stacker.ec
@@
-402,7
+402,8
@@
private:
}
}
- if(needScrollers) //y > ((direction == horizontal) ? size.w : size.h))
+ if(needScrollers ||
+ ((bits.scrollable && !bits.endButtons) && (y > ((direction == horizontal) ? size.w : size.h))))
{
scrollArea = (direction == horizontal) ? { y, 0 } : { 0, y };
if(bits.endButtons && !left.visible)