Unreadable text in TsDBGrid

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #36287
    HeDiBo
    Participant

    Some skins have a problem with readability in the lines of a TsDBGrid.

    The problematic skins are: Afterburner, Cappuccino, Cappuccino_contrast, Cold, Emerald, FalloutStyle, FM, Graphite, Matrix_contrast, Nautilus, Nautilus_contrast, Neonlight, Steam, Steam2, Terminal4bit_contrast, TV-b and WOT.

    The problem is that the lines are colored according to the text font. But the grid is always painted with a white background. That produces a contrast problem. The grid's background should be dark, if the skin is dark.

    Tested with AC 9.13

    This is the test project: [attachment=6882:ACLookupCombo.zip]

    This is an example of the poor readabilty, using skin Cold:

    [attachment=6880:ACLookupCombo.jpg]

    It also shows the total unreadability of the TsDBNavigator buttons.

    #52434
    Support
    Keymaster

    Sorry, test project is not attached.

    #52435
    HeDiBo
    Participant
    'Support' wrote:

    Sorry, test project is not attached.

    Sorry, edited the post to attach it.

    #52438
    Support
    Keymaster

    Same demo as in other topic?

    I has this effect in the demo if SkinData.CustomColor is True.

    The color of background is White as defined in the “Color” property and Font color is taken from skin (gray).

    #52439
    HeDiBo
    Participant
    'Support' wrote:

    Same demo as in other topic?

    I has this effect in the demo if SkinData.CustomColor is True.

    The color of background is White as defined in the “Color” property and Font color is taken from skin (gray).

    It's the same demo, showing two problems with skins.

    SkinData.CustomColor is False, as you can see in the demo. So, that's not the reason.

    #52442
    Support
    Keymaster

    I see now, the DrawingStyle property have influence.

    I will think what to do…

    #52446
    HeDiBo
    Participant
    'Support' wrote:

    I see now, the DrawingStyle property have influence.

    You're right. DrawingStyle gdsThemed has the dark skin problem.

    Isn't it just a matter of keeping the original DrawingStyle when grid must be skinned and setting it to gdsClassic. Then restoring its original if skinning is switched off?

    I also noticed that in dark skins the row and column lines are too pronounced. I'll make a new topic of that.

    #52477
    HeDiBo
    Participant

    Fixed in 9.15 :a3:

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.