Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How get actual dimensions of e component with miglayout(I have to fill a Label with an imagine)
How get actual dimensions of e component with miglayout [message #1743261] Tue, 13 September 2016 16:16 Go to next message
Claudio Farinati is currently offline Claudio FarinatiFriend
Messages: 4
Registered: September 2016
Junior Member
I want to display a jpg photo into a Label and I have to resize the ipg to right dimensions. The label is a square and I resize the imagine maintaining the proportions and centring vertically or horizontally. Using absolute layout I can get actual dimensions with getHeigth and getWidth, bat using miglayout I receive a zero value for both.
Any suggestion?
Tanks
Claudio
Re: How get actual dimensions of e component with miglayout [message #1743264 is a reply to message #1743261] Tue, 13 September 2016 16:24 Go to previous message
Erick Hagstrom is currently offline Erick HagstromFriend
Messages: 107
Registered: April 2014
Location: USA
Senior Member
You should probably ask in a forum that addresses MigLayout questions. This is the Eclipse Java Development Tools Forum. Not the right place.
Previous Topic:Tomcat in Eclipse is suddenly failing to find Spring ApplicationListener class
Next Topic:Miglayout and units of dimension
Goto Forum:
  


Current Time: Sun Oct 13 20:02:52 GMT 2024

Powered by FUDForum. Page generated in 0.03815 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top