wip
This commit is contained in:
Binary file not shown.
@@ -12,7 +12,7 @@ from ..utils.constants import (
|
||||
get_feature_availability_text, get_version_info_details,
|
||||
has_image_overlays, has_basic_utilities, has_presets,
|
||||
has_normal_maps, has_batch_processing, has_advanced_utilities,
|
||||
has_advanced_styling, has_text_fitting
|
||||
has_advanced_styling, has_text_fitting, has_multiline_text
|
||||
)
|
||||
|
||||
|
||||
@@ -200,6 +200,14 @@ def draw_text_input_section(layout, props):
|
||||
pass
|
||||
"""Draw the main text input field"""
|
||||
layout.prop(props, "text", text="")
|
||||
|
||||
# Add multiline text editor button
|
||||
row = layout.row()
|
||||
if has_multiline_text():
|
||||
row.operator("text_texture.edit_multiline_text", text="Edit Multiline Text", icon='TEXT')
|
||||
else:
|
||||
row.enabled = False
|
||||
row.operator("text_texture.edit_multiline_text", text="Edit Multiline Text (PRO)", icon='LOCKED')
|
||||
|
||||
def draw_font_dropdown_section(layout, props):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user