Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accordion padding

 
Umid Mahmudov
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , I am new at JavaFX , I want to give padding to accordion , and I change CSS of accordion like


But if i add this CSS, accordion's bottom unvisible, look like photo please help for this
 
Rakoczi Markus
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
i think you should wrap in an Anchor pane and bind it to the margins.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic