Skip to main content


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: 207
Registered: March 2012
Location: Chattanooga, TN USA
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 715 times)


Oxygen 3a
Windows 10
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: 2902
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: 207
Registered: March 2012
Location: Chattanooga, TN USA
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.


Oxygen 3a
Windows 10

[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: 2902
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:What is the proper way to specify the CSS to be used in an e4 JavaFX FXML application?
Next Topic:Linux & JavaFX
Goto Forum:
  


Current Time: Fri Apr 26 16:07:04 GMT 2024

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

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

Back to the top