< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Choice.cpp

Print this page

        

@@ -343,11 +343,11 @@
 
     /* 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));
+                       ScaleUpY(GetFontHeight(env)));
     return dimension;
 }
 
 void AwtChoice::SetFont(AwtFont* font)
 {
< prev index next >