construct-editor
construct-editor copied to clipboard
White text on white background with dark theme
The white text is not visible with a white background when using the dark theme in ubuntu.
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