changeset 1260:52cf4be61cfe

Corrected fix for RT-21788: Adjust padding in TextArea and TextField for Embedded.
author leifs
date Mon, 11 Jun 2012 11:02:34 -0700
parents 85d4575070f8
children 6809fcdc77f4
files javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/embedded-qvga.css javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/embedded.css
diffstat 2 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/embedded-qvga.css	Mon Jun 11 10:45:24 2012 -0700
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/embedded-qvga.css	Mon Jun 11 11:02:34 2012 -0700
@@ -31,3 +31,17 @@
  * targeted at VGA screens).                                                   *
  *                                                                             *
  ******************************************************************************/
+
+/*******************************************************************************
+ *                                                                             *
+ * TextField, PasswordField, TextArea                                                                   *
+ *                                                                             *
+ ******************************************************************************/
+
+.text-field {
+    -fx-padding: 3 5 3 5; /* Restore values from caspian, as QVGA has no selection handles */
+}
+
+.text-area .content {
+    -fx-padding: 3 5 3 5; /* Restore values from caspian, as QVGA has no selection handles */
+}
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/embedded.css	Mon Jun 11 10:45:24 2012 -0700
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/embedded.css	Mon Jun 11 11:02:34 2012 -0700
@@ -100,11 +100,11 @@
  ******************************************************************************/
 
 .text-field {
-    -fx-padding: 6 5 6 5; /* Adding 10px to bottom for handles */
+    -fx-padding: 6 5 6 5; /* Adding 3px to top and bottom for handles */
 }
 
 .text-area .content {
-    -fx-padding: 13 5 13 5; /* Adding 10px to top and bottom for handles */
+    -fx-padding: 9 5 9 5; /* Adding 6px to top and bottom for handles */
 }