Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make GUI great again #185

Merged
merged 1 commit into from Nov 7, 2019
Merged

Make GUI great again #185

merged 1 commit into from Nov 7, 2019

Conversation

tcgj
Copy link

@tcgj tcgj commented Nov 7, 2019

  • Remove image dependency for tabs
  • Remove alternating list item colours
  • Fix script card not using cardPane style class
  • Fix transaction card using redundant for loop
  • Fix rule card's overflowing action value overlapping on predicate

@tcgj tcgj added this to the v1.4 milestone Nov 7, 2019
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.009%) to 41.62% when pulling 400d2fc on tcgj/ft-gui-improvement into ef3d61b on master.

Comment on lines 45 to 49
if (account.isActive()) {
accountCard.getRoot().setStyle("-fx-background-color: #005F83");
accountCard.getRoot().setStyle("-fx-background-color: #282547");
} else {
accountCard.getRoot().setStyle("-fx-background-color: null");
accountCard.getRoot().setStyle("-fx-background-color: #52667d");
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should really be done in CSS..

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree but I couldn't find a way... alternatively I could setId instead of specific colour.

setGraphic(currImage);
// Create tab
Stop[] stops = new Stop[] { new Stop(0, Color.web("#3f556f")), new Stop(1, Color.web("#2c3b4d"))};
LinearGradient lg = new LinearGradient(0, 0, 0, 1, true, CycleMethod.NO_CYCLE, stops);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be done in CSS too

@thaowei thaowei merged commit 400d2fc into master Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants