Announcement

Collapse
No announcement yet.

Widget Page System?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Widget Page System?

    Hi!

    I was working on a chat system, so Its as easy as just add a new widget child to a scroll widget. But, what could happen if you have lots and lots of messages? So I guess is necessary to have some kind of show-only-20-messages. With something like a pointer and so. Problem is... how to manage it properly? Is there any ideal way to implement it? Worse thing is, the chat line is not only text, but a horizontal box splitted with text, and images (emojis)

    I really appreciate any help! Thanks!

    #2
    More widgets will generally increase the Slate render time, which you can view using the console command 'stat slate'. You could just start removing messages at the beginning once there are too many in the scrollbox.
    Marketplace Assets

    Advanced Mobile Input: Marketplace Page | Support Thread ――― Easy Input Remapping: Marketplace Page | Support Thread
    Multiplayer Blueprint Chat System: Marketplace Page | Support Thread ――― Closing Credits System: Marketplace Page | Support Thread
    Minesweeper Template: Marketplace Page | Support Thread ――― Maze Creator: Marketplace Page | Support Thread

    Comment


      #3
      Hi Jamendxman3, thanks for the command. Problem to remove messages, is if I want to scroll back to see the very old messages. Then things become a little more messy. So I am open to some suggestion to do it in a nice way (intead of, just remove form parent, then add new children) but let say, maintain the same 20 widgets always.

      Comment


        #4
        You want a list view if you're after efficiency:

        https://forums.unrealengine.com/comm...-started-in-bp

        Comment


          #5
          Many thanks! It seems it the perfect solution! Thanks!

          Comment

          Working...
          X