Make compiler and runtime errors tooltips more readable.
[DEVELOPMENT ENVIRONMENT] * BUG: Make compiler and runtime errors tooltips more readable.
This commit is contained in:
parent
d5c6ea0462
commit
dae8c3d271
1 changed files with 10 additions and 3 deletions
|
@ -249,7 +249,7 @@ Public Sub ShowMessageLabel(sStr As String, iStyle As Integer, Optional bBottom
|
|||
$hLabel = New TextLabel(hParent) As "Label"
|
||||
$hLabel.Ignore = True
|
||||
$hLabel.AutoResize = True
|
||||
$hLabel.Border = If(bBottom, Border.None, Border.Plain)
|
||||
$hLabel.Border = Border.None 'If(bBottom, Border.None, Border.Plain)
|
||||
$hLabel.Padding = 2
|
||||
$hLabel.Wrap = False
|
||||
$hLabelTimer = New Timer As "LabelTimer"
|
||||
|
@ -259,8 +259,15 @@ Public Sub ShowMessageLabel(sStr As String, iStyle As Integer, Optional bBottom
|
|||
|
||||
' $hLabel.Foreground = Me.Styles[Highlight.Normal].Color
|
||||
' $hLabel.Background = Color.Merge(Me.Styles[iStyle].Color, Me.Styles[Highlight.Background].Color, 0.3)
|
||||
$hLabel.Foreground = Me.Styles[iStyle].Color 'Me.Styles[Highlight.Normal].Color
|
||||
$hLabel.Background = Me.Styles[Highlight.Background].Color
|
||||
If iStyle = Highlight.Normal Then
|
||||
$hLabel.Background = Me.Styles[Highlight.Background].Color
|
||||
$hLabel.Foreground = Me.Styles[iStyle].Color
|
||||
$hLabel.Border = Border.Plain
|
||||
Else
|
||||
$hLabel.Background = Me.Styles[iStyle].Color 'Me.Styles[Highlight.Normal].Color
|
||||
$hLabel.Foreground = Me.Styles[Highlight.Background].Color
|
||||
$hLabel.Border = Border.None
|
||||
Endif
|
||||
$hLabel.Text = " " & Replace(Replace(sStr, "<p>", " "), "<br>", " ") & " "
|
||||
|
||||
$bLabelBottom = bBottom
|
||||
|
|
Loading…
Reference in a new issue