Results 1 to 2 of 2

Thread: Position bottom:0 and not top:0?

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default Position bottom:0 and not top:0?

    Hi Arnebech and everyone

    When shapes are drawn I presume position is set 'left' and 'top'.

    This means we can easily animate the box expanding downwards and/or right.

    But what if I want to expand the box upwards instead of downwards?

    I presume I need to set position from top:0 to bottom:0 but cannot see the option in the GUI.

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
      0  

    Default

    If you are dealing with transforms ( like scale and rotate) you can move the transform origin to the bottom of the object.

    If you are changing the css dimensions of the object, you could use the custom css field at the bottom of the property panel and manually add the css rules like this
    Code:
    top:auto;
    bottom:0px;
    for the base state of the object

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •