Graphics

 View Only
  • 1.  Vertical Expanding Box with Text

    Posted 09-22-2022 23:31
    I'm trying to create facebook style comment box that populates with questions. How do I get the comment box and the text to expand from center?


    ------------------------------
    Erik Sams
    ------------------------------


  • 2.  RE: Vertical Expanding Box with Text

    Posted 09-23-2022 04:37
    You need to set your text to centered. 

    And you need to make sure your pivot point of your object is in the center. 

    be sure the quad is a child of the text.

    then use auto scale. 

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: Vertical Expanding Box with Text

    Posted 09-23-2022 08:11
    Hi Sams.
    If you want to style facebook, you'd better use a plate object with rounded corner
    Below a scheme in visual logic



    ------------------------------
    Roman Yaroshenko
    chief specialist
    RBC-TV
    Moscow Russian Federation
    ------------------------------



  • 4.  RE: Vertical Expanding Box with Text

    Posted 09-23-2022 09:23
    Using the vlogic below, I can get the slab to expand with the text the way I want, but the text flows over the slab the longer it gets. I also need to anchor the "Name" textbox to the top of the slab so that it repositions as the slab size increases and decreases. Any suggestions would be greatly appreciated.
     
    I used the vlogic you provided however my text box is no longer visible


    ------------------------------
    Erik Sams
    ------------------------------



  • 5.  RE: Vertical Expanding Box with Text

    Posted 09-23-2022 09:30
    Your pivot points for the textbox and baseobject need to be aligned. 




    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 6.  RE: Vertical Expanding Box with Text

    Posted 09-23-2022 09:58
    Hi Sams.
    In this case  use that scheme.




    ------------------------------
    Roman Yaroshenko
    chief specialist
    RBC-TV
    Moscow Russian Federation
    ------------------------------