Closed vincenzopalazzo closed 5 years ago
@vincenzopalazzo brilliant idea.
One thing: for the life of me I can't get windows to display roboto correctly. There's always some jagged edges (since 2 years)(Ubuntu works properly).
Since you guys are using roboto in this, can you tell if and how you got it to work on windows?
According to the source code I found here, TitledBorder
gets its font from the UIManager
property TitledBorder.font
, so I don't think making a new class is necessary.
@TheGreat2201
Since you guys are using roboto in this, can you tell if and how you got it to work on windows?
The problem has not yet been resolved, in August we had a long discussion and we opted to set a different font. I'm thinking of a way to adapt the font depending on the operating system that is starting, but I still have to understand how to do it.
However the font now works quite well.
I applied the adapter model to add the whole TitlePane swing support, I hope you enjoy my idea.