Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
HanSolo committed Jun 27, 2017
1 parent bff10e5 commit 371edc7
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/main/java/eu/hansolo/tilesfx/Demo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
import eu.hansolo.tilesfx.Tile.MapProvider;
import eu.hansolo.tilesfx.Tile.SkinType;
import eu.hansolo.tilesfx.Tile.TileColor;
import eu.hansolo.tilesfx.chart.ChartData;
import eu.hansolo.tilesfx.chart.RadarChart.Mode;
import eu.hansolo.tilesfx.skins.BarChartItem;
import eu.hansolo.tilesfx.skins.LeaderBoardItem;
import eu.hansolo.tilesfx.chart.ChartData;
import eu.hansolo.tilesfx.tools.FlowGridPane;
import eu.hansolo.tilesfx.tools.Location;
import eu.hansolo.tilesfx.weather.DarkSky;
Expand All @@ -34,6 +34,7 @@
import javafx.beans.property.SimpleDoubleProperty;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.chart.XYChart;
import javafx.scene.control.Button;
import javafx.scene.layout.Background;
Expand All @@ -42,7 +43,6 @@
import javafx.scene.paint.Color;
import javafx.scene.paint.Stop;
import javafx.stage.Stage;
import javafx.scene.Scene;

import java.time.LocalTime;
import java.util.Locale;
Expand Down Expand Up @@ -418,12 +418,13 @@ public class Demo extends Application {
.build();

circularProgressTile = TileBuilder.create()
.skinType(SkinType.CIRCULAR_PROGRESS)
.prefSize(TILE_WIDTH, TILE_HEIGHT)
.title("CircularProgress")
.text("Some text")
.unit("\u0025")
.build();
.skinType(SkinType.CIRCULAR_PROGRESS)
.prefSize(TILE_WIDTH, TILE_HEIGHT)
.title("CircularProgress")
.text("Some text")
.unit("\u0025")
//.graphic(new WeatherSymbol(ConditionAndIcon.CLEAR_DAY, 48, Color.WHITE))
.build();

stockTile = TileBuilder.create()
.skinType(SkinType.STOCK)
Expand Down

0 comments on commit 371edc7

Please sign in to comment.