construct-editor icon indicating copy to clipboard operation
construct-editor copied to clipboard

White text on white background with dark theme

Open rvanlaar opened this issue 2 years ago • 0 comments

The white text is not visible with a white background when using the dark theme in ubuntu.

image



import wx
import construct as cs
from construct_editor.wx_widgets import WxConstructHexEditor

constr = cs.Struct(
    "a" / cs.Int16sb,
    "b" / cs.Int16sb,
)
b = bytes([0x12, 0x34, 0x56, 0x78])

app = wx.App(False)
frame = wx.Frame(None, title="Construct Hex Editor", size=(1000, 200))
editor_panel = WxConstructHexEditor(frame, construct=constr, binary=b)
editor_panel.construct_editor.expand_all()
frame.Show(True)
app.MainLoop()

construct-editor 0.1.4 with wxpython 4.2.1 python 3.10 Ubuntu 22.04 with dark theme

rvanlaar avatar Jul 04 '23 20:07 rvanlaar