Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Part Sash Container not rendering 2nd Part
Part Sash Container not rendering 2nd Part [message #1730296] Sat, 23 April 2016 22:11 Go to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 197
Registered: March 2012
Location: North Carolina
Senior Member
Windows 7 SP1
Mars 2 RCP RAP
e4 JavaFX FXML

I have declared a Part Sash Container and configured it for a Vertical orientation. in the .e4xmi file. Only the top Part renders when the application is started. Adding
"fx_layout_height" on a "Part" does not cause the bottom part to render. What am I missing?

I tried to provide the "fx_layout_height" on just the top half, on just the bottom half and both halves. Nothing changes in the rendering.

index.php/fa/25757/0/
  • Attachment: Snap1.jpg
    (Size: 161.73KB, Downloaded 231 times)
Re: Part Sash Container not rendering 2nd Part [message #1730304 is a reply to message #1730296] Sun, 24 April 2016 06:40 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2515
Registered: July 2012
Senior Member
Have you provided the fx_fixedLayout tag in the PartSash?
Re: Part Sash Container not rendering 2nd Part [message #1730312 is a reply to message #1730304] Sun, 24 April 2016 11:49 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 197
Registered: March 2012
Location: North Carolina
Senior Member
Are you saying it should go in both the "Part" tag and the "Part Sash" or just the "Part Sash"?

What about a unit of measure postfix like "px", is that required? Which units of measure are supported?

I have tried the tag at both places, with and without a "px" after the height value of 50 and nothing changed. No rendering of the bottom part.

[Updated on: Sun, 24 April 2016 12:00]

Report message to a moderator

Re: Part Sash Container not rendering 2nd Part [message #1730313 is a reply to message #1730312] Sun, 24 April 2016 12:04 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2515
Registered: July 2012
Senior Member
As specified in the wiki you need to tell the container and the elements that you want to use a fixed layout

https://wiki.eclipse.org/Efxclipse/Runtime/e4#MPart

I don't think that you have to specify the unit of measure.

If you want to use a relative layout use the containerData attribute.
Previous Topic:How to mirror FX target site?
Next Topic:What is the proper way to specify the CSS to be used in an e4 JavaFX FXML application?
Goto Forum:
  


Current Time: Mon Oct 23 04:46:16 GMT 2017

Powered by FUDForum. Page generated in 0.02814 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software