Permalink
Browse files

Few UI changes to make it a little bit nicer presentation. Padding ba…

…sically.
  • Loading branch information...
staypufd committed Aug 22, 2010
1 parent 766d18a commit 6a99ce2fd1b5a21730b50cc7919013a1e932c339
Showing with 7 additions and 5 deletions.
  1. +7 −5 src/testfx/Main.fx
View
@@ -8,15 +8,14 @@ package testfx;
import javafx.stage.Stage;
import javafx.scene.Scene;
-import javafx.scene.text.Text;
-import javafx.scene.text.Font;
import clojureGlue.TestJavaClass;
import javafx.scene.control.Button;
import javafx.scene.control.TextBox;
import javafx.scene.layout.VBox;
-import java.lang.Integer;
+import javafx.geometry.Insets;
import javafx.scene.control.Slider;
+
/**
* @author Sam Griffith Jr
*/
@@ -36,10 +35,13 @@ mySlider = Slider {
Stage {
title: "Application title"
width: 250
- height: 80
+ height: 140
scene: Scene {
+
content:
- VBox { content: [
+ VBox { padding: Insets { left: 5 top: 5 }
+ spacing: 10
+ content: [
mySlider,
Button {

0 comments on commit 6a99ce2

Please sign in to comment.