+ Reply to Thread
Results 1 to 2 of 2

Thread: Autosizing Text/RiftTextfield frames

  1. #1
    RIFT Community Ambassador the_real_seebs's Avatar
    Join Date
    Jan 2011
    Posts
    16,859

    Default Autosizing Text/RiftTextfield frames

    I appear to be missing something. :GetFullHeight() was removed because the height of frames is auto-calculated, but when I set a text field or text area to a multi-line string (using either \r or \n), I get a 20-pixel high item showing only one line. Printing :GetText() shows it to be two lines.

    So what might I have done amusingly wrong that would produce this?

    Also, is it intentional that RiftTextfield has no :SetFontSize() or :GetFontSize()?
    You can play WoW in any MMO. You don't have to play WoW in RIFT. Oh, and no, RIFT is not a WoW clone. Not having fun any more? Learn to play, noob! I don't speak for Riftui, but I moderate stuff there. Just came back? Welcome back! Here's what's changed. (Updated for 2.5!)

  2. #2
    RIFT Community Ambassador the_real_seebs's Avatar
    Join Date
    Jan 2011
    Posts
    16,859

    Default

    Answer: Was setting both types to RiftTextfield by accident; it doesn't have that autosize function.
    You can play WoW in any MMO. You don't have to play WoW in RIFT. Oh, and no, RIFT is not a WoW clone. Not having fun any more? Learn to play, noob! I don't speak for Riftui, but I moderate stuff there. Just came back? Welcome back! Here's what's changed. (Updated for 2.5!)

+ Reply to Thread

Bookmarks

Posting Permissions

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