Danjb1 / d2-unique-item-editor

A unique item editor for Diablo II: Lord of Destruction.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI bug under linux - some of the ui elements are hidden

RomanSedykh opened this issue · comments

Hello! First of all i want to thank you for that tool, it helps me alot.

I have that UI bug only in linux. Under windows this application looks fine.
As you can see some parts of ui elements are somehow partially hidden. Lowering font dpi helps, but makes fonts almost unreadable (it requires 64 dpi font to make all controls visible).
Screenshot_2021-02-27_15-14-10

commented

Hi @RomanSedykh! Thank you for your interest in the project.

To be honest the project could use a major upgrade. I may look into adding tabs or even a web front-end to fix this problem, but I don't think it's something I can do very soon.

In the meantime, if you're able to compile the project, one thing you could try is removing this line to revert to the standard Java look and feel:
https://github.com/Danjb1/d2-unique-item-editor/blob/master/src/editor/D2Edit.java#L53

If by standard look you mean this mode:

Screenshot_2021-03-01_18-54-09

i can revert to it without code editing. anyway it still hides some of the controls.

Tabs is not ideal solution i think. It will be better to move properties field somewhere else: for example to the right part of the window right after "cost", "graphics" and "sound".