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 messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 508
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?
Re: How to set height and width [message #1829607 is a reply to message #1804199] Tue, 07 July 2020 14:58 Go to previous message
Thomas Chiang is currently offline Thomas ChiangFriend
Messages: 55
Registered: March 2020
Hey I was wondering if it is possible to default the size to a specified size rather than letting it autosize? What kind of expression would that be?
Previous Topic:6.3.1 Will Not Upgrade on 2019-06 Modeling Tools
Next Topic:Basic Dialog Example? Where? Set the name of a created object.
Goto Forum:

Current Time: Fri May 14 06:58:48 GMT 2021

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

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

Back to the top