But if you want some put "space" between layout as "empty column", i think you should use vspacer or hspacer for filing column with abstract-not-functional component. Or just put empty JPanel... In any case you must have some component in layout cell to control size, i guess.
Sorry, but this looks like a hack defined by the weak design.
We have a layout manager similar to HIGLayout. We first define the columns' and rows' sizes and stretching behaviour and than add the components with information about the cell(s) to put in and the orientation within this (large) cell. Works perfectly fine. No need for spacer components.
Ah, thanks. I search in the columns/rows, not in the components. What if a column does not have components?
Tom
If columns (row) doesn't have any component inside then it will be eliminated on compilation time. At design time empty cells exist only as possible placeholders for components.
With best regards, Vladimir Kondratyev _____________________ JetBrains
Hi,
I think you must use property hSizePolicy and vSizePolicy for inner
components.
Thanks!
"Thomas Singer" <idea@NOregnisSpam.de> wrote in message
news:br1fiv$2hn$1@is.intellij.net...
>
>
>
Ah, thanks. I search in the columns/rows, not in the components. What if
a column does not have components?
Tom
In this case i have no ideas :))
But if you want some put "space" between layout as "empty column", i think
you should use vspacer or hspacer for filing column with
abstract-not-functional component. Or just put empty JPanel... In any case
you must have some component in layout cell to control size, i guess.
Thanks!
"Thomas Singer" <idea@NOregnisSpam.de> wrote in message
news:br1jth$rdv$1@is.intellij.net...
>
I guess you have to insert a spacer at least.
Guillaume
Sorry, but this looks like a hack defined by the weak design.
We have a layout manager similar to HIGLayout. We first define the
columns' and rows' sizes and stretching behaviour and than add the
components with information about the cell(s) to put in and the
orientation within this (large) cell. Works perfectly fine. No need for
spacer components.
Tom
Thomas Singer wrote:
If columns (row) doesn't have any component inside then it will be
eliminated on compilation time. At design time empty cells exist only as
possible placeholders for components.
With best regards,
Vladimir Kondratyev
_____________________
JetBrains
Thomas Singer wrote:
You can add space between component with the following ways:
1. Change container's margins
2. Change container's hGap/vGap
3. Insert fixed-width spacer.
Vladimir Kondratyev
___________________
JetBrains