Make TextEdit.clip_contents more transparent to users

Instead of ignoring `TextEdit.clip_contents`, use it with a default
value `true`. in the same way as `RichTextLabel`.
This commit is contained in:
Markus Sauermann
2024-03-28 21:07:27 +01:00
parent 29b3d9e9e5
commit 94e1943f02
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1132,6 +1132,7 @@
<member name="caret_type" type="int" setter="set_caret_type" getter="get_caret_type" enum="TextEdit.CaretType" default="0">
Set the type of caret to draw.
</member>
<member name="clip_contents" type="bool" setter="set_clip_contents" getter="is_clipping_contents" overrides="Control" default="true" />
<member name="context_menu_enabled" type="bool" setter="set_context_menu_enabled" getter="is_context_menu_enabled" default="true">
If [code]true[/code], a right-click displays the context menu.
</member>