Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Edition Table - Initial Width
Edition Table - Initial Width [message #1751357] Mon, 09 January 2017 10:36 Go to next message
Arunkumar Ramaswamy is currently offline Arunkumar RamaswamyFriend
Messages: 57
Registered: April 2014
Member
Hello

It seems setting initial width for feature column in sirius edition table is not working for me. I tried to set the value to 200 to 1000 which I believe is unit in pixels. Still when I create new table representation, the columns are squeezed into one which I have to resize manually. Am I doing it wrongly.
Any help much appreciated.
Re: Edition Table - Initial Width [message #1751396 is a reply to message #1751357] Mon, 09 January 2017 17:10 Go to previous message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 182
Registered: October 2014
Senior Member
Hello

The Header Label Expression allows you to define the width of the column
Below is an extract of the Sirius documentation[1]
... the Header Label Expression is used to compute the header of the column itself, and is evaluated in the context of the table's target semantic element, and the Initial width, if set to a non-zero value, is used as the initial width of the column.
Feel free to open a bugzilla if you find a bug. https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius

In case you meant to talk about the first left column which is not a feature column, below is an extract from the Sirius documentation [2] :
Finally, the Initial Header Column Width ( Advanced category) is specific to table descriptions (both edition tables and cross tables). It can be used to specify the default size (in pixels) of the left-most column of the table, which contains the labels of the elements represented by each line. If the value if 0 (the default), the column width will be computed from the initial content when the table is created.
But effectively there is a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=507887

Regards
Laurent

[1] http://help.eclipse.org/mars/topic/org.eclipse.sirius.doc/doc/specifier/tables/Tables.html?cp=69_2_3_1_2#feature_column_mapping
[2] http://help.eclipse.org/mars/topic/org.eclipse.sirius.doc/doc/specifier/tables/Tables.html?cp=69_2_3_1#edition_tables


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Sirius Intersection table - Diagonal elements
Next Topic:Arrow Decorators
Goto Forum:
  


Current Time: Thu Apr 25 13:34:44 GMT 2024

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

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

Back to the top