git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#58 iTerm2 image support partially working
[fanfix.git]
/
src
/
jexer
/
demos
/
DemoCheckBoxWindow.java
diff --git
a/src/jexer/demos/DemoCheckBoxWindow.java
b/src/jexer/demos/DemoCheckBoxWindow.java
index c982244f9d2e5ad1bf68ef36ce552a6262169dff..fda7bd7a15ae6567eee7a21d17b090cc46648c4f 100644
(file)
--- a/
src/jexer/demos/DemoCheckBoxWindow.java
+++ b/
src/jexer/demos/DemoCheckBoxWindow.java
@@
-39,6
+39,7
@@
import jexer.TComboBox;
import jexer.TMessageBox;
import jexer.TRadioGroup;
import jexer.TWindow;
import jexer.TMessageBox;
import jexer.TRadioGroup;
import jexer.TWindow;
+import jexer.layout.StretchLayoutManager;
import static jexer.TCommand.*;
import static jexer.TKeypress.*;
import static jexer.TCommand.*;
import static jexer.TKeypress.*;
@@
-87,6
+88,9
@@
public class DemoCheckBoxWindow extends TWindow {
// centered on screen.
super(parent, i18n.getString("windowTitle"), 0, 0, 60, 17, flags);
// centered on screen.
super(parent, i18n.getString("windowTitle"), 0, 0, 60, 17, flags);
+ setLayoutManager(new StretchLayoutManager(getWidth() - 2,
+ getHeight() - 2));
+
int row = 1;
// Add some widgets
int row = 1;
// Add some widgets