Mercurial > dwindows
comparison android/DWindows.kt @ 2703:321e2cf1282a
Android: Via testing, MLE is set to word wrap by default on most platforms.
Enable word wrap by default, so it matches: OS/2, Windows, Mac, iOS...
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 17 Nov 2021 12:33:20 +0000 |
parents | 4f12dc8e8f18 |
children | 4e9eba7f7226 |
comparison
equal
deleted
inserted
replaced
2702:4f12dc8e8f18 | 2703:321e2cf1282a |
---|---|
2152 mle!!.maxLines = Integer.MAX_VALUE | 2152 mle!!.maxLines = Integer.MAX_VALUE |
2153 mle!!.imeOptions = EditorInfo.IME_FLAG_NO_ENTER_ACTION | 2153 mle!!.imeOptions = EditorInfo.IME_FLAG_NO_ENTER_ACTION |
2154 mle!!.inputType = (inputType or InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS) | 2154 mle!!.inputType = (inputType or InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS) |
2155 mle!!.isVerticalScrollBarEnabled = true | 2155 mle!!.isVerticalScrollBarEnabled = true |
2156 mle!!.scrollBarStyle = View.SCROLLBARS_INSIDE_INSET | 2156 mle!!.scrollBarStyle = View.SCROLLBARS_INSIDE_INSET |
2157 mle!!.setHorizontallyScrolling(true) | 2157 mle!!.setHorizontallyScrolling(false) |
2158 mle!!.isHorizontalScrollBarEnabled = true | 2158 mle!!.isHorizontalScrollBarEnabled = false |
2159 mle!!.gravity = Gravity.TOP or Gravity.LEFT | 2159 mle!!.gravity = Gravity.TOP or Gravity.LEFT |
2160 } | 2160 } |
2161 return mle | 2161 return mle |
2162 } | 2162 } |
2163 | 2163 |