Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How to set height and width
How to set height and width [message #1804180] Wed, 20 March 2019 05:28 Go to next message
Prajna VGFriend
Messages: 54
Registered: July 2018
Hi all,

I have a container as DRepresentationElement with name 'element'. I want to set its height to -1 ( configure to autosize). I tried to set


But it is not configured to autosize. How can we autosize without adding selection listener.
Re: How to set height and width [message #1804199 is a reply to message #1804180] Wed, 20 March 2019 09:45 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 481
Registered: May 2011
Senior Member

On the style of the container mapping concerning this element, you can set the size with the field "Height computation expression" and "Width computation expression" in the Advanced tab. Set these value to -1 and it will autosize.


Steve Monnier - Obeo
Need training or professional services for Sirius?
Previous Topic:How to hide popmenus which are opened under representation
Next Topic:Sirius Tree Description
Goto Forum:

Current Time: Fri Jun 05 15:59:11 GMT 2020

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

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

Back to the top