Closed yanokwa closed 4 years ago
Hi all. My guess is that it is easily fixable. Let me take a look now.
Something funky happens when the window is sized narrower than a certain width. Maybe @ggalmazor already knows about this. But to improve this specific situation, setting the label’s minimum size before adding it to the frame keeps it from wrapping. It is not perfectly centered when in that funky zone. I’m happy to look at the larger resizing issue, but I suspect @ggalmazor may already have plans for it.
versionLabel.setMinimumSize(versionLabel.getPreferredSize());
frame.add(versionLabel, versionLabelConstraints);
Thanks, Dave!
I’m happy to look at the larger resizing issue, but I suspect @ggalmazor may already have plans for it.
Not really :D This is yet another chapter of Swing that I'd need to research. If you feel like you could save us some time, please, go ahead :)
I see that nothing really adapts to window size changes, right? I can see how there's a space to the right in one of Yaw's screenshots.
I’m looking at the broader resizing issue now.
I’m having success. Changing from GridBagLayout to BorderLayout simplifies the code and improves the UI. The makeClickable
method complicates things. I propose we remove the underlining. Do browsers underline links anymore? Code coming.
How does this look?
It's looking great! Thanks, Dave!
When I run master, this is what the "Update available" looks like. I think it should always be on one line and not wrap. Not sure if this is a macOS thing. My guess is that it's not easily fixable. Any ideas, @dcbriccetti ?
On launch - 😄
Make window bigger - 😟
Make window smaller -  ðŸ˜