Skip to content

Panel System: Add Block Row #624

Description

@ccubed

Add a function like AddBlock that works like AddWithWidthWrap except generates a row without a label. This would be used for displaying large blocks of text such as descriptions. It would work like this.

layout.Panel("Description").
   SetTitle("Guild Description").
   AddBlock(guild.Long) // Or some other arbitrary large string of text

This would produce something that looks like:

┌─ .:Guild Description ───┐
  A bunch of text 
  describing the thing
  and how great it is
  that we get to bask in
  the glorious presence
  of the thing as it
  exists.
└─────────────────────────┘

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions