From dd136c42bd2ae4f34285033140e65e65cb3ad04e Mon Sep 17 00:00:00 2001 From: Daker Fernandes Pinheiro Date: Fri, 22 Jul 2011 16:11:19 -0300 Subject: [PATCH] Add gallery example for TextArea plasma component Signed-off-by: Daker Fernandes Pinheiro --- declarativeimports/test/gallery/Texts.qml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/declarativeimports/test/gallery/Texts.qml b/declarativeimports/test/gallery/Texts.qml index 0d8886b98..ae3d0df48 100644 --- a/declarativeimports/test/gallery/Texts.qml +++ b/declarativeimports/test/gallery/Texts.qml @@ -75,4 +75,25 @@ Column { Keys.onTabPressed: loginButton.forceActiveFocus(); enabled: false } + + Text { + text: "Text Area" + font.pixelSize: 20 + } + + PlasmaComponents.TextArea { + width: 200 + height: 200 + placeholderText: "Lorem ipsum et dolor" + wrapMode: TextEdit.WordWrap + contentMaxWidth: 400 + contentMaxHeight: 400 + } + + PlasmaComponents.TextArea { + width: 200 + height: 100 + enabled: false + text: "Disabled Text Area" + } }