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
README for submodules
[fanfix.git]
/
src
/
jexer
/
demos
/
DemoMsgBoxWindow.java
diff --git
a/src/jexer/demos/DemoMsgBoxWindow.java
b/src/jexer/demos/DemoMsgBoxWindow.java
index 7d106c7b1087e60a82617bdcf2017df09603f2bc..0485f5184195a1a836f5842d1cda069ebe937dd6 100644
(file)
--- a/
src/jexer/demos/DemoMsgBoxWindow.java
+++ b/
src/jexer/demos/DemoMsgBoxWindow.java
@@
-74,7
+74,8
@@
public class DemoMsgBoxWindow extends TWindow {
// will be centered on screen.
super(parent, i18n.getString("windowTitle"), 0, 0, 64, 18, flags);
// will be centered on screen.
super(parent, i18n.getString("windowTitle"), 0, 0, 64, 18, flags);
- setLayoutManager(new StretchLayoutManager(getWidth(), getHeight()));
+ setLayoutManager(new StretchLayoutManager(getWidth() - 2,
+ getHeight() - 2));
int row = 1;
int row = 1;