スタイルの指定で line-height: 150%; のように書いてみる。
デモ
コード.gs
function doGet() {
return HtmlService.createHtmlOutputFromFile("index");
}
|
意訳この機能がやること 指定したHTMLファイルを表示する |
index.html
<!DOCTYPE html>
<html>
<head>
<style>
textarea {
height: 120px;
line-height: 150%;
}
</style>
</head>
<body>
<textarea></textarea>
</body>
</html>
|
意訳テキストエリアのスタイル 高さは120ピクセル 1行の高さは150% テキストエリア |