fix: editor cannot scroll horizontally if editor's height < parent's height
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
<com.stardust.scriptdroid.ui.edit.editor.CodeEditText
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/code_edit_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scrollHorizontally="true"
|
||||
android:textColor="@android:color/transparent"
|
||||
android:textCursorDrawable="@drawable/code_edit_text_cursor"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
Reference in New Issue
Block a user