how to stop gridpane items shrink with shrinking of window in java fx 2.0
Question
Hello i have that grid pane and there is labels and textboxes in that they are shrinking with shrinking the window but table view is not shrinking. Like rather than shrinking they hide like normal.Is any method to stop that?
Thanks in advance
Solution
Setting the minWidth property works :)
OTHER TIPS
Without knowing more about your UI, I can only give a general answer:
To influence the shrink/growth behaviour of components in JavaFX, you have to stack the various simple panes that come with JavaFX into each other, or use a more powerful pane, like MiG Layout for FX 2.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow