Empyreus / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

A way to set the size of GUIScreen to remain constant #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is there a way to set the size of GUIScreen so it remains constant and does not 
keep changing when moving from one window to the other ?

Original issue reported on code.google.com by m.vino...@gmail.com on 4 Sep 2012 at 10:41

GoogleCodeExporter commented 9 years ago
Do you mean set the GUIScreen area size fixed when resizing the terminal 
emulator? Or when displaying new overlapping windows in the GUIScreen, you want 
all of them to have a fixed size?

Original comment by mab...@gmail.com on 5 Sep 2012 at 3:24

GoogleCodeExporter commented 9 years ago
I generally make all of my windows solo. So when moving from one window to the 
other the grey area that holds all the components of the window which I believe 
is the GUIScreen changes in size as the size of its components varies. So if I 
can set the size of the grey area to be constant, traversing through the 
windows would be much smoother.

Original comment by m.vino...@gmail.com on 5 Sep 2012 at 2:33

GoogleCodeExporter commented 9 years ago
Hmm, fixed size for a window... Yeah, that shouldn't be too hard I guess.

Original comment by mab...@gmail.com on 8 Sep 2012 at 1:15

GoogleCodeExporter commented 9 years ago
Ok, added and pushed. You can call Window.setWindowSizeOverride(...) to force 
the window to have a certain size.

Original comment by mab...@gmail.com on 9 Sep 2012 at 3:16