git://git.nikiroo.be
/
fanfix-swing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
800246e
)
jdoc fix
author
Niki Roo
<niki@nikiroo.be>
Tue, 24 Sep 2019 07:38:28 +0000
(09:38 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Tue, 24 Sep 2019 07:38:28 +0000
(09:38 +0200)
src/be/nikiroo/jexer/TSizeConstraint.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/jexer/TSizeConstraint.java
b/src/be/nikiroo/jexer/TSizeConstraint.java
index 39daa20655abe0c14ac56f077af9d0e159d9ff06..bfdbb3a8229ad22570da6ca0faca1a50631553f4 100644
(file)
--- a/
src/be/nikiroo/jexer/TSizeConstraint.java
+++ b/
src/be/nikiroo/jexer/TSizeConstraint.java
@@
-53,7
+53,9
@@
public class TSizeConstraint {
return y2;
}
- // coordinates < 0 = from the other side, x2 or y2 = 0 = max size
+ // coordinates < 0 = from the other side
+ // x2 or y2 = 0 = max size
+ // coordinate NULL = do not work on that side at all
static public void setSize(List<TSizeConstraint> sizeConstraints, TWidget child,
Integer x1, Integer y1, Integer x2, Integer y2) {
sizeConstraints.add(new TSizeConstraint(child, x1, y1, x2, y2));