Page 1 of 1

Center terminalWrapper

Posted: 27 Oct 2017, 05:13
by zigzigzig
Hello All,

Has anyone ever centered the 'terminal' window in TS2? I'd like to center it and lock the zoom so sizing can be more consistent between screens. Currently poking around trying to figure it out.

thanks,
-zzz

Re: Center terminalWrapper

Posted: 27 Oct 2017, 10:32
by jeanmichel
Hi,

terminalWrapper is an internal aXes element and should not be customized by the customer.
If you believe there is a bug please refer to your regional LANSA support office.

Re: Center terminalWrapper

Posted: 28 Oct 2017, 01:12
by zigzigzig
hmm, what about just centering the screen vertically and horizontally WITHOUT hacking anything? Does that functionality currently exist?

Re: Center terminalWrapper

Posted: 05 Jan 2018, 17:51
by Fairdinkum
Hi,

How about this:
<In application's style>
-------------------------------------------------------------
name....... e.g.centeringContent
styleFor.... HTML Element
htmlTag.... dummy, div#terminalInner
style........ {
margin-left: auto;
margin-right: auto;
width: 80%;
}
-------------------------------------------------------------

The result will be something like this:
Image_20180105_164408001.png
Image_20180105_164408001.png (59.78 KiB) Viewed 6971 times
HTH :)
Hidekazu Tanaka