changeset 2148:8af4e0ded501

Modena theme, updated sample page.
author "Jasper Potts"
date Fri, 04 Jan 2013 12:04:51 -0800
parents da1162caf687
children 1664eb23626f
files apps/experiments/Modena/src/modena/Modena.css apps/experiments/Modena/src/modena/SamplePage.java
diffstat 2 files changed, 4 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/apps/experiments/Modena/src/modena/Modena.css	Fri Jan 04 12:00:04 2013 -0800
+++ b/apps/experiments/Modena/src/modena/Modena.css	Fri Jan 04 12:04:51 2013 -0800
@@ -1010,7 +1010,7 @@
  *                                                                             *
  ******************************************************************************/
 .text-area {
-    -fx-padding: 1;
+    -fx-padding: 0;
 }
 .text-area > .scroll-pane {
     -fx-background-color: transparent;
--- a/apps/experiments/Modena/src/modena/SamplePage.java	Fri Jan 04 12:00:04 2013 -0800
+++ b/apps/experiments/Modena/src/modena/SamplePage.java	Fri Jan 04 12:04:51 2013 -0800
@@ -332,17 +332,10 @@
                 "TextArea:", 
                 TextAreaBuilder.create().text("TextArea").prefColumnCount(10).prefRowCount(2).build(),
                 TextAreaBuilder.create().text("Many Lines of\nText.\n#3\n#4\n#5\n#6\n#7\n#8\n#9\n#10").prefColumnCount(10).prefRowCount(3).build(),
+                TextAreaBuilder.create().text("Many Lines of\nText.\n#3\n#4\n#5\n#6\n#7\n#8\n#9\n#10").prefColumnCount(6).prefRowCount(3).build(),
                 TextAreaBuilder.create().promptText("Prompt Text").prefColumnCount(10).prefRowCount(2).build(),
-                withState(TextAreaBuilder.create().text("Focused").prefColumnCount(10).prefRowCount(2).build(), "focused"),
-                withState(TextAreaBuilder.create().text("Disabled").prefColumnCount(10).prefRowCount(2).build(), "disabled")
-                );
-        newSection(      
-                "TextArea:", 
-                TextAreaBuilder.create().text("TextArea").prefColumnCount(10).prefRowCount(2).build(),
-                TextAreaBuilder.create().text("Many Lines of\nText.\n#3\n#4\n#5\n#6\n#7\n#8\n#9\n#10").prefColumnCount(10).prefRowCount(3).build(),
-                TextAreaBuilder.create().promptText("Prompt Text").prefColumnCount(10).prefRowCount(2).build(),
-                withState(TextAreaBuilder.create().text("Focused").prefColumnCount(10).prefRowCount(2).build(), "focused"),
-                withState(TextAreaBuilder.create().text("Disabled").prefColumnCount(10).prefRowCount(2).build(), "disabled")
+                withState(TextAreaBuilder.create().text("Focused").prefColumnCount(7).prefRowCount(2).build(), "focused"),
+                withState(TextAreaBuilder.create().text("Disabled").prefColumnCount(8).prefRowCount(2).build(), "disabled")
                 );
         newSection(      
                 "ChoiceBox:",