LAF is not ackknowledging component sizes
Status: Beta
Brought to you by:
shfarr
It seems FHLaF is not fully acknowledging component
preferred sizes. Take a look at the two screenshots
attached: one of them is using FH LaF, the other one is
using Plastic LaF (from jGoodies).
All components in this form have their sizes determined
by the FormLayout (also from jGoodies). Specifically,
the combo boxes uses a prototype display value
(JComboBox.setPrototypeDisplayValue) to determine their
initial sizes. In plastic, the sizes are set according
to the prototype value, but in FH the sizes aren't
quite right.
My application using Plastic L&F
My application using FH L&F
Logged In: YES
user_id=360347
Look at the "municipio" combo box. This one is of special
interest because it's initially empty but it's populated
later. In plastic L&F, the combo width is determined from
the prototype display value, correctly. In FH, the combo is
completly collapsed because it contains no initial data.
Also look at the "Empresa" combo box. In FH, it's way larger
than it should have been, because there are items largen
than the prototype display value in this combo.
The "Estado" combo is fine because it's data has a constant
width.
Also, notice this screen is obviously not finished, forget
about the other fields -- just take a look at the ones
mentioned here.