Closed p00f closed 5 years ago
Oh sorry i meant JPanel titled border
@vincenzopalazzo Like this . Sorry, I can't give a screen right now
@TheGreat2201, I understand your problem, we will try to solve the problem as soon as possible.
Thanks for the tip
@vincenzopalazzo Sure. Can you tag me in the next commit which fixes this? Edit: Watching this repo now
@TheGreat2201 yes
Hello @TheGreat2201, I tried to fix your problem and now I have run a pull request, I could not find a better solution for now and then I created a Wrapper and encaps the code inside MaterialTitleBorder, you can create your MaterialTitlePane with the following piece of code:
MaterialTitleBorder materialTitleBorder = new MaterialTitleBorder("Test new Title Border component");
Or you can customize your titleBorder with the setFont and setBorder methods.
find the solution already released in this section here pending the answer of @atarw https://github.com/vincenzopalazzo/material-ui-swing/releases/tag/v0.9.4.5
I hope to be proved helpful.
Thanks a lot. I'll try this
On Thu 27 Dec, 2018, 02:44 Vincenzo Palazzo <notifications@github.com wrote:
Hello @TheGreat2201 https://github.com/TheGreat2201, I tried to fix your problem and now I have run a pull request, I could not find a better solution for now and then I created a Wrapper and encaps the code inside MaterialTitleBorder, you can create your MaterialTitlePane with the following piece of code:
MaterialTitleBorder materialTitleBorder = new MaterialTitleBorder("Test new Title Border component");
Or you can customize your titleBorder with the setFont and setBorder methods.
find the solution already released in this section here pending the answer of @atarw https://github.com/atarw https://github.com/vincenzopalazzo/material-ui-swing/releases/tag/v0.9.4.5 http://url
I hope to be proved helpful.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/atarw/material-ui-swing/issues/52#issuecomment-450027292, or mute the thread https://github.com/notifications/unsubscribe-auth/AizZZ2EzE-oRCi_Nnyv0JB4ma-2OYX6Pks5u8-bDgaJpZM4Zhzbd .
There's a better way using UIManager properties that doesn't require you to change your code to use a new border class :) Pushed a fix to the repo, thank you @vincenzopalazzo for your help!!
@atarw There's a better way using UIManager properties that doesn't require you to change your code to use a new border class :) Pushed a fix to the repo, thank you @vincenzopalazzo for your help!!
Hello @TheGreat2201,
You're referring to the title in the JFrame, right? Because the JPanel does not have a setTitle () method, so a possible setting in a JPanel does not depend on the Theme, you can better explain your problem because I did not understand well, you can post a screen if you have the possibility