Skip to main content



      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 12:16 Go to next message
Eclipse UserFriend
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 12:24 Go to previous message
Eclipse UserFriend
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: Thu May 22 22:43:39 EDT 2025

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

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

Back to the top