Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Unsolved how to enter text on screen using theme.xml

    Themes & Interface
    enter text theme.xml
    3
    3
    1161
    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.
    • DJMatrix-HU3
      DJMatrix-HU3 last edited by

      how to enter text on screen using theme.xml??

      I Tried

      <view name="basic, detailed, grid">                                 <fontPath>./_art/menu.ttf</fontPath>    
      <fontSize>0.018</fontSize>
      <pos>0.48 0.98</pos>
      <textColor>FFFFFF</textColor>
      <text>MY TEXT</text>                                                                    </view>
      

      images I can add without problems .. but I can not add text .. anyone help me?

      <image name="logo2" extra="true">
      <path>./$system/system.png</path>
      <color>ffffff</color>
      <origin>0.5 0.5</origin>
      <pos>0.695 0.14</pos> <!-- logo 2 edit-->
      <maxSize>0.14 0.1</maxSize>
      </image>

      1 Reply Last reply Reply Quote 0
      • Norde
        Norde last edited by Norde

        I'm not sure but i think you should put your <text> tag inside a <text> element.

        Example :

        <text name="TEST">
        <text>MY TEXT</text>
        <pos>0.48 0.98</pos>
        <color>FFFFFF</color>
        <fontSize>0.1</fontSize>
        </text>

        Boards : Rpi1 B+, Rpi2 B, Rpi3 B, Rpi3 B+
        Controllers : Xbox One S controller, PS1 controllers
        Case : Superpi case Retroflag

        1 Reply Last reply Reply Quote 0
        • adamfrizzer
          adamfrizzer Banned last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Want to support us ?

          97
          Online

          98.7k
          Users

          28.1k
          Topics

          187.0k
          Posts

          Copyright © 2021 recalbox.com