Buttons and input
Native Qt
Text Area
Text Area is a native Zui component in the buttons and input catalog, with 15 component-specific properties.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
text_area "Release notes", placeholder: "What changed?", width: 520, height: 180, maximum_length: 2_000
API
Component properties
15 component-specific values, plus shared item and layout properties.
textText configuration for Text Area.propertyplaceholderPlaceholder configuration for Text Area.propertywidthWidth configuration for Text Area.propertyheightHeight configuration for Text Area.propertywrapWrap configuration for Text Area.propertyread_onlyRead only configuration for Text Area.propertymaximum_lengthMaximum length configuration for Text Area.propertyforegroundForeground configuration for Text Area.propertybackgroundBackground configuration for Text Area.propertyaccentAccent configuration for Text Area.propertyselection_tintSelection tint configuration for Text Area.propertyfont_familyFont family configuration for Text Area.propertyfont_sizeFont size configuration for Text Area.propertypaddingPadding configuration for Text Area.propertyvisibleVisible configuration for Text Area.propertyShow 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
inputNative event payload↗
changeNative event payload↗
focusNative event payload↗
blurNative event payload↗
selectionNative event payload