Changeset View
Changeset View
Standalone View
Standalone View
org.kde.desktop/TextArea.qml
Show All 15 Lines | |||||
16 | * Software Foundation and appearing in the file LICENSE.GPL included in | 16 | * Software Foundation and appearing in the file LICENSE.GPL included in | ||
17 | * the packaging of this file. Please review the following information to | 17 | * the packaging of this file. Please review the following information to | ||
18 | * ensure the GNU General Public License version 2.0 requirements will be | 18 | * ensure the GNU General Public License version 2.0 requirements will be | ||
19 | * met: http://www.gnu.org/licenses/gpl-2.0.html. | 19 | * met: http://www.gnu.org/licenses/gpl-2.0.html. | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | 22 | | |||
23 | import QtQuick 2.6 | 23 | import QtQuick 2.6 | ||
24 | import QtQuick.Window 2.1 | ||||
24 | import QtQuick.Templates 2.0 as T | 25 | import QtQuick.Templates 2.0 as T | ||
25 | import org.kde.qqc2desktopstyle.private 1.0 as StylePrivate | 26 | import org.kde.qqc2desktopstyle.private 1.0 as StylePrivate | ||
26 | 27 | | |||
27 | T.TextArea { | 28 | T.TextArea { | ||
28 | id: controlRoot | 29 | id: controlRoot | ||
29 | 30 | | |||
30 | implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, | 31 | implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, | ||
31 | background ? background.implicitWidth : 0, | 32 | background ? background.implicitWidth : 0, | ||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |