CSS styling of MCompositePart [message #1448766] |
Mon, 20 October 2014 12:14  |
Eclipse User |
|
|
|
When I have 2 parts in a (fixed-layout) part-sash-container, I can use the following styling:
.MPartSashContainer {
-fx-hspace: 3;
-fx-vspace: 3;
}
However, when I instead use a composite part, the following does not work:
.MCompositePart {
-fx-hspace: 3;
-fx-vspace: 3;
}
I don't see any spacings. Is the API different or not implemented yet?
Cheers,
Rob
|
|
|
Re: CSS styling of MCompositePart [message #1448801 is a reply to message #1448766] |
Mon, 20 October 2014 13:18   |
Eclipse User |
|
|
|
An MCompositePart is made up of an
AnchorPane
BorderPane
center GridLayoutPane
So the selector is: .MCompositePart > BorderPane > GridLayoutPane
Tom
On 20.10.14 14:14, Robert Fisher wrote:
> When I have 2 parts in a (fixed-layout) part-sash-container, I can use
> the following styling:
>
> MPartSashContainer {
> -fx-hspace: 3;
> -fx-vspace: 3;
> }
>
> However, when I instead use a composite part, the following does not work:
>
> MCompositePart {
> -fx-hspace: 3;
> -fx-vspace: 3;
> }
>
> I don't see any spacings. Is the API different or not implemented yet?
>
> Cheers,
> Rob
>
|
|
|
Re: CSS styling of MCompositePart [message #1448807 is a reply to message #1448801] |
Mon, 20 October 2014 13:29   |
Eclipse User |
|
|
|
Maybe we should generify this a bit? So that you can at least write
..MCompositePart > .layoutpane
?
Tom
On 20.10.14 15:18, Tom Schindl wrote:
> An MCompositePart is made up of an
>
> AnchorPane
> BorderPane
> center GridLayoutPane
>
> So the selector is: .MCompositePart > BorderPane > GridLayoutPane
>
> Tom
>
> On 20.10.14 14:14, Robert Fisher wrote:
>> When I have 2 parts in a (fixed-layout) part-sash-container, I can use
>> the following styling:
>>
>> MPartSashContainer {
>> -fx-hspace: 3;
>> -fx-vspace: 3;
>> }
>>
>> However, when I instead use a composite part, the following does not work:
>>
>> MCompositePart {
>> -fx-hspace: 3;
>> -fx-vspace: 3;
>> }
>>
>> I don't see any spacings. Is the API different or not implemented yet?
>>
>> Cheers,
>> Rob
>>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04160 seconds