comparison android/DWindows.kt @ 2581:9dea42f27b0a

Android: MLE should have TOP/LEFT gravity.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 23 May 2021 02:41:06 +0000
parents 473eb9ff3f04
children 01fca1937806
comparison
equal deleted inserted replaced
2580:473eb9ff3f04 2581:9dea42f27b0a
1546 mle!!.imeOptions = EditorInfo.IME_FLAG_NO_ENTER_ACTION 1546 mle!!.imeOptions = EditorInfo.IME_FLAG_NO_ENTER_ACTION
1547 mle!!.inputType = (InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_FLAG_MULTI_LINE) 1547 mle!!.inputType = (InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_FLAG_MULTI_LINE)
1548 mle!!.isVerticalScrollBarEnabled = true 1548 mle!!.isVerticalScrollBarEnabled = true
1549 mle!!.scrollBarStyle = View.SCROLLBARS_INSIDE_INSET 1549 mle!!.scrollBarStyle = View.SCROLLBARS_INSIDE_INSET
1550 mle!!.setHorizontallyScrolling(true) 1550 mle!!.setHorizontallyScrolling(true)
1551 mle!!.gravity = Gravity.TOP or Gravity.LEFT
1551 } 1552 }
1552 return mle 1553 return mle
1553 } 1554 }
1554 1555
1555 fun mleSetWordWrap(mle: EditText, state: Int) 1556 fun mleSetWordWrap(mle: EditText, state: Int)