Community
Participate
Working Groups
Hello all, I 'm currently developer an application using Sirius 1.0, and i got a problem with using Square Style supported by Sirius. In My Application, I use Square Style for Nodes in .odesign file. and I want all Nodes in the Graphical Editor will be automatically resized whenever i changed any Node name. but I only want to resize the horizontal dimension of this Node to fit with the new name, so I can't set the constant value in Height and Width in advanced tap of Properties view. I tried with Size Computation Expression, but this expression get one Integer value that will be set for all Width and Height, and I got a square shape again. The Rectangle is the basic Shape that Sirius should support and its Style should provide two different computation expression for Width and Height. This will helpful for developers who want to reuse a basic Sirius Shape and customize its size as expectation of them also.
I currently see 2 feature requests in your bugzilla: * Autosize on node (like on Container) * "New style" on node: Rectangle (A Square style with 2 size computation expressions, one for the width and the other for the height). You could, maybe, use a container (without contents) for your described nodes. Thus, you would have access to the features sought.