Win a copy of Functional Reactive Programming this week in the Other Languages 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic