[Wish] Code window colour highlighting

Daestrum

Expert
Licensed User
Longtime User
Probably just me, so I understand if it's not changed.

On the code window in posts, would it be possible to lighten the Orange colour on #AdditionalJars: etc as currently I have to highlight the line to be able to read it. (Bad eyes - old age)

(I do view the site in dark mode, so maybe that's the reason it appears so dark to me)
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
B4X:
#RaisesSynchronousEvents: ShowTemplate
#RaisesSynchronousEvents: Show
#RaisesSynchronousEvents: ShowCustom
'Base type must be Object
Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
    mBase = Base
    Tag = mBase.Tag : mBase.Tag = Me
    cvs.Initialize(mBase)
    mMin = Props.Get("Min")
    mMax = Props.Get("Max")
    mValue = mMin
    pnl = xui.CreatePanel("pnl")
    xlbl = Lbl
    xlbl.Visible = True
    mBase.AddView(xlbl, 0, 0, 0, 0)
    mBase.AddView(pnl, 0, 0, 0, 0)
    ValueColor = xui.PaintOrColorToColor(Props.Get("ValueColor"))
    mRollOver = Props.GetDefault("RollOver", False)
    If xui.IsB4A Or xui.IsB4i Then
        stroke = 8dip
    Else If xui.IsB4J Then
        stroke = 6dip
    End If
    Base_Res
Checking...
 

Daestrum

Expert
Licensed User
Longtime User
Actually looking at your example above the hard bit for me to see is the quoted text in the lines Props.get("?????")

It's probably the fact it's white text to red, whereas the Orange to Red is readable (#RaiseSynchronousEvents: redText)
 

Daestrum

Expert
Licensed User
Longtime User
Don't ever become photosensitive Luca, so you don't have to contend with white pages being uncomfortable to view.
 
Top