mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-05 09:35:28 +08:00
update
This commit is contained in:
22
src/controls/FluMultiLineTextBox.qml
Normal file
22
src/controls/FluMultiLineTextBox.qml
Normal file
@ -0,0 +1,22 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import FluentUI 1.0
|
||||
|
||||
TextArea{
|
||||
id:input
|
||||
width: 300
|
||||
color: FluApp.isDark ? "#FFFFFF" : "#1A1A1A"
|
||||
wrapMode: Text.WrapAnywhere
|
||||
selectByMouse: true
|
||||
selectionColor: {
|
||||
if(FluApp.isDark){
|
||||
return Qt.rgba(76/255,160/255,224/255,1)
|
||||
}else{
|
||||
return Qt.rgba(0/255,102/255,180/255,1)
|
||||
}
|
||||
}
|
||||
background: FluTextBoxBackground{
|
||||
inputItem: input
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user