[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3241: TextEditor Preview popup is too dark and small


http://gambaswiki.org/bugtracker/edit?object=BUG.3241&from=L21haW4-

Comment #3 by Bruce STEERS:

Aah i see.

Well i think it most certainly should have the same background as the main view because logically you do not know what symbol colours the highlighter is using so it could look bad if it's bg colour is preset.

But then it does looks bad if it it the same colour and has no border due to Flat style as the edges are not defined so i blends in.

I'm using code in UpdatePreviewViewer() to force the same background as the editor (with alpha removed to ensure visibility)

  $hSideBarViewer.Background = Color.SetAlpha(Me.Background, 0)


And I'm using code in TextEditor.ShowPreview_Write to force a border regardless of the style...

    Object.SetProperty($hSideBarViewer.Children[0], "Border", Border.Plain)

So essentially i have worked around the issue.
But that does not mean there is not still an issue :)

I very hope you consider supporting custom colours and alpha like I'm using.  it's possibly easier to remove the ability to use alpha but I for one am using it and liking the results (mostly) :)

Respects
Bruce

----------------------------------------------------------------------------

Attachment: Untitled.jpg



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----