How to fix the glitch with `menuitem`s
# tornadofx
v
How to fix the glitch with `menuitem`s
Application looks like this
But when I click
menu
it opens huge popup window with `menuitem`s of the same size as my
View
c
Can you post a section of your code that highlights the glitch?
v
My bad... I was using
root
node within
Stylesheet
like
Copy code
root {
  prefWidth = 640.px
  prefHeight = 360.px
}
I still can not understand how to use that stylesheets and what parameters should go into stylesheets, and what -- into builders inside
View
That
root
affected also subwindow for `menuitem`s