comparison src/com/five_ten_sg/connectbot/service/TerminalBridge.java @ 246:dfe5f44bbea1

add host preference for fixed screen size
author Carl Byington <carl@five-ten-sg.com>
date Mon, 14 Jul 2014 11:16:07 -0700
parents 23119f3c0d28
children 1e1bb5468ebe
comparison
equal deleted inserted replaced
245:23119f3c0d28 246:dfe5f44bbea1
335 335
336 // finally send any post-login string, if requested 336 // finally send any post-login string, if requested
337 injectString(host.getPostLogin()); 337 injectString(host.getPostLogin());
338 } 338 }
339 339
340 private setMyFontSize() { 340 private void setMyFontSize() {
341 if ((parent != null) && (host.getFixedSize())) { 341 if ((parent != null) && (host.getFixedSize())) {
342 resizeComputed(host.getFixedWidth(), host.getFixedHeight(), parent.getWidth(), parent.getHeight()); 342 resizeComputed(host.getFixedWidth(), host.getFixedHeight(), parent.getWidth(), parent.getHeight());
343 } 343 }
344 else { 344 else {
345 setFontSize(host.getFontSize()); 345 setFontSize(host.getFontSize());