new design for the films table

* films table is now material design
* choisboxes are material design now
* updated version to 0.6.0 "plasma vampire"
* minor ui fixes
* minor text updates
This commit is contained in:
Jannik
2018-03-11 15:36:55 +01:00
parent da67278e7f
commit 81a79100fc
6 changed files with 113 additions and 16 deletions

View File

@ -84,7 +84,7 @@ public class Main extends Application {
loader.setLocation(ClassLoader.getSystemResource("fxml/MainWindow.fxml"));
pane = (AnchorPane) loader.load();
primaryStage.setMinHeight(600.00);
primaryStage.setMinWidth(950.00);
primaryStage.setMinWidth(1000.00);
primaryStage.setResizable(false);
primaryStage.setTitle("Project HomeFlix");
primaryStage.getIcons().add(new Image(Main.class.getResourceAsStream("/icons/Homeflix_Icon_64x64.png"))); //adds application icon

View File

@ -231,9 +231,9 @@ public class MainWindowController {
private static final Logger LOGGER = LogManager.getLogger(MainWindowController.class.getName());
private int hashA = -647380320;
private String version = "0.5.99";
private String buildNumber = "137";
private String versionName = "solidify cow";
private String version = "0.6.0";
private String buildNumber = "141";
private String versionName = "plasma vampire";
private String dialogBtnStyle;
private String color;
private String title;
@ -303,10 +303,10 @@ public class MainWindowController {
// film Table
columnStreamUrl.setMaxWidth(0);
columnTitle.setMaxWidth(215);
columnFavorite.setMaxWidth(60);
columnSeason.setMaxWidth(55);
columnEpisode.setMaxWidth(64);
columnTitle.setMaxWidth(190);
columnFavorite.setMaxWidth(80);
columnSeason.setMaxWidth(73);
columnEpisode.setMaxWidth(77);
columnFavorite.setStyle("-fx-alignment: CENTER;");
filmsTreeTable.setRoot(filmRoot);
@ -441,6 +441,7 @@ public class MainWindowController {
/**
* FIXME fix bug when sort by ASCENDING, wrong order
* FIXME when sorting, series are expanded
*/
columnFavorite.sortTypeProperty().addListener(new ChangeListener<SortType>() {
@Override