HISE Logo Forum
    • Categories
    • Register
    • Login

    Viewport Text Alignment

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 146 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CasmatC
      Casmat
      last edited by

      Hey!

      I planning to use a viewport to basically list all sample maps the plugin has. In each entry of the viewport, there would be two main pieces of information: the samplemap name and the instrument the samplemap is part of. Is there anyway to make it so that the text for the samplemap name is aligned to the left of the viewport entry and the instrument name be aligned to the right of the viewport entry?

      Thanks!

      i make music

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @Casmat
        last edited by

        @Casmat Unfortunately there's still no custom LAF for the viewport except for the scrollbar. This would have been your friend to draw the text left and right.

        So a solution is to use a panel instead:
        https://forum.hise.audio/topic/7624/look-and-feel-for-scriptedviewport

        Can't help pressing F5 in the forum...

        CasmatC 1 Reply Last reply Reply Quote 0
        • CasmatC
          Casmat @ustk
          last edited by

          @ustk thanks!

          i make music

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          23

          Online

          1.7k

          Users

          11.8k

          Topics

          102.4k

          Posts