Center terminalWrapper

Use this Forum to post your “How to …” questions about your use of aXes. This is not a technical support forum. Both the aXes Support Team at LANSA and other aXes customers may answer your questions. LANSA cannot guarantee the accuracy of any information posted by customers.

Moderator: jeanmichel

Post Reply
zigzigzig
Posts: 3
Joined: 20 Oct 2017, 04:30

Center terminalWrapper

Post 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
User avatar
jeanmichel
Posts: 109
Joined: 23 May 2014, 11:37
Location: Sydney

Re: Center terminalWrapper

Post 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.
Regards,

Jean-Michel Rapin

LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
zigzigzig
Posts: 3
Joined: 20 Oct 2017, 04:30

Re: Center terminalWrapper

Post by zigzigzig »

hmm, what about just centering the screen vertically and horizontally WITHOUT hacking anything? Does that functionality currently exist?
Fairdinkum
Posts: 128
Joined: 24 Jul 2017, 17:02

Re: Center terminalWrapper

Post 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 6970 times
HTH :)
Hidekazu Tanaka
Post Reply