I am trying to work with a q5 textedit. The one highlighted in picture:
I have the following code:
Code: Select all
Public Sub Form_Resize()
ToolBar1.Width = Me.W
TextEdit1.W = Me.W / 2 - 10
TextEdit1.Background = Color.RGB(190, 190, 190)
TextEdit1.Top = ToolBar1.H + 10
TextEdit1.Height = Me.H - 10 - TextEdit1.Top - 50
TextEdit1.Foreground = Color.Red
End
Code: Select all
TextEdit1.Foreground = Color.Red
As you can see, the foreground color did not take effect.
I am on Artix Linux, KDE. Output of uname -a :
Linux glassplanet 5.17.4-artix1-1 #1 SMP PREEMPT Thu, 21 Apr 2022 06:59:38 +0000 x86_64 GNU/Linux
I attach the project. what can I do so that the color will take effect? Thank you.