But if you have a Group and set the right style in a component, then this component is right aligned with a space. It works. I have a property for that, so I thought that a bead could make sense.
Carlos Rovira <[email protected]> escreveu no dia sexta, 11/09/2020 à(s) 18:29: > Hi Hugo, > > Group does not have that APIs, since they are all positioned absolutely. > Instead HGroup and VGroup has what you want, since "all items" can be > aligned left, center, right horizontally and top, center, bottom > vertically: > > /** > * Distribute all items horizontally > * Possible values are: > * - itemsLeft > * - itemsCenter > * - itemsRight > * - itemsSpaceBetween > * - itemsSpaceAround > * > * @langversion 3.0 > * @playerversion Flash 10.2 > * @playerversion AIR 2.6 > * @productversion Royale 0.9.4 > */ > public function get itemsHorizontalAlign():String > > and > > /** > * Distribute all items vertically > * Possible values are: > * - itemsSameHeight > * - itemsCenter > * - itemsTop > * - itemsBottom > * > * @langversion 3.0 > * @playerversion Flash 10.2 > * @playerversion AIR 2.6 > * @productversion Royale 0.9.4 > */ > public function get itemsVerticalAlign():String > > also > > /** > * A boolean flag to activate "itemsExpand" effect selector. > * Make items resize to the fill all container space > * > * @langversion 3.0 > * @playerversion Flash 10.2 > * @playerversion AIR 2.6 > * @productversion Royale 0.9.4 > */ > public function get itemsExpand():Boolean > > El vie., 11 sept. 2020 a las 18:28, Hugo Ferreira (<[email protected] > >) > escribió: > > > I really don'' know what is the better name for this: > > RightBead > > PositionBead with a right property > > > > I have components that are inside a Group and I position the components x > > pixels from the right, so, they use a right style. > > > > This could be a bead that can work on any component. > > Makes sense what I'm saying ? > > Or this already exists in some form ? > > > > > -- > Carlos Rovira > http://about.me/carlosrovira >
