omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Pythonista Text underscore

    Pythonista
    5
    11
    2531
    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.
    • JonB
      JonB last edited by

      Example?

      How do you create your button.

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

        Like this:

        sectionMainMaterialButton__plus = size_to_fit(getButton_area(ui.Button(name='sectionMainMaterialButton__plus'), 'sectionMainMaterialButton__plus', self.DEVICE, 2))
        			sectionMainMaterialButton__plus.action = self.sectionMainMaterialSetCount__ACTION_Button
        			sectionMainMaterialButton__plus.width = easyWidth
        			sectionMainMaterialButton__plus.height = ((sectionMainMaterialButton__3.height * 2) + (At.gap))
        			attach(sectionMainMaterialButton__plus).below(sectionMainMaterialButton__minus)
        

        on my iPhone it‘s correct but on my Father's iPhone are underscore

        mikael 1 Reply Last reply Reply Quote 0
        • mikael
          mikael @DavinE last edited by

          @DavinE, your code does not show how you set the ui.Button title.

          Also, are you using some special font?

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

            @mikael set it like this:

            b.title = '+' 
            

            And my Font:

            return 'Anonymous Pro'
            

            I call it over an Function

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

              @mikael , @JonB

              here two Pics maybe it's better to see.... i didn't found any solution..

              My Pics are from two different iPhones
              not underscored

              underscored

              mikael 1 Reply Last reply Reply Quote 0
              • mikael
                mikael @DavinE last edited by

                @DavinE, from some hints online I gather that the underlining might be connected to user having activated ”Button Shapes” in accessibility settings.

                No clue what that might be in German, but at least I have the setting under Accessibility > Display and text size (4th option) > Button Shapes (3rd option).

                DavinE 1 Reply Last reply Reply Quote 0
                • 7upser
                  7upser last edited by 7upser

                  In german its named: Tastenformen
                  (einstellungen / bedienungshilfen / anzeige & textgröße / tastenformen)

                  Never heard this before, i think Apple create a new word....

                  1 Reply Last reply Reply Quote 1
                  • cvp
                    cvp last edited by cvp

                    @7upser said:

                    einstellungen / bedienungshilfen / anzeige & textgröße / tastenform

                    Google Translate

                    1 Reply Last reply Reply Quote 0
                    • 7upser
                      7upser last edited by 7upser

                      I know tastenform but never heard the plural.
                      (btw. plural is in the word tasten)
                      And 'operating aids' sounds like my iPad has Aids but is still operating.😷😛

                      1 Reply Last reply Reply Quote 0
                      • DavinE
                        DavinE @mikael last edited by

                        @mikael said:

                        @DavinE, from some hints online I gather that the underlining might be connected to user having activated ”Button Shapes” in accessibility settings.

                        No clue what that might be in German, but at least I have the setting under Accessibility > Display and text size (4th option) > Button Shapes (3rd option).

                        omg.... but Thanks this is right....

                        @7upser said:

                        In german its named: Tastenformen
                        (einstellungen / bedienungshilfen / anzeige & textgröße / tastenformen)

                        Never heard this before, i think Apple create a new word....

                        Ich danke dir xD
                        was haben die bitte genommen ^^ Tastenformen......
                        weiste wie lange ich danach gesucht hatte....

                        aber schön das ich nix änder muss ^^

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Powered by NodeBB Forums | Contributors