< prev index next >
src/java.desktop/windows/native/libawt/windows/awt_Choice.cpp
Print this page
*** 343,353 ****
/* This size is window size of choice and it's too big for each
* drop down item height.
*/
env->SetIntField(dimension, AwtDimension::heightID,
! GetFontHeight(env));
return dimension;
}
void AwtChoice::SetFont(AwtFont* font)
{
--- 343,353 ----
/* This size is window size of choice and it's too big for each
* drop down item height.
*/
env->SetIntField(dimension, AwtDimension::heightID,
! ScaleUpY(GetFontHeight(env)));
return dimension;
}
void AwtChoice::SetFont(AwtFont* font)
{
< prev index next >