Announcement

Collapse
No announcement yet.

Label Options Bug

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

  • Label Options Bug

    I have a small bug with Labels.
    If i set from LEFT to SCROLL and scale my skin with general.ini bigger than real size. the label height don't scale.
    LEFT = all is fine
    SCROLL = height of Label don't scale. the text gets a cut on the bottom.
    RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
    RR-Plugin: IBusCommunicatoRR new Updates

  • #2
    make a demo

    just a label on menu.skin will do
    (have all the files required for demo)

    zip and attach
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

    Comment


    • #3
      see attached files
      Attached Files
      RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
      RR-Plugin: IBusCommunicatoRR new Updates

      Comment


      • #4
        I think its working correctly

        you're using a really really big font, I think the font scale is the issue
        and prob how windows scales fonts!

        try it at same size

        OriginalWidth=1066
        OriginalHeight=600
        ShowWidth=1066
        ShowHeight=600

        and you will see that it doesn't fit
        oddly a specified height of 50, results in a 75px need to draw the Arial font
        and the usual label while you set the height to 50, is actually turning into 75
        this is all related to a font sizing issue and its a known issue apparently

        so change to

        L,020,100,450,075,0,0,0,50,"Arial","=SCROLL-LABEL","SCROLL",,""

        note 75 tall

        and if you want that drop shadow the label needs more space use 80 then

        *for basic labels, rr does this resize for you... I let you know more when I understand why rr
        is specifically not automatically fitting the font, more I think about it, it prob shouldn't anyway
        if you specify a font too big for label, that's your fault
        but as you can see textheight doesn't equal label size, so you cant just drop in numbers
        prob related to font kerning
        can rr be made to auto fit the font for scrolls, yet...
        but before I do, I need to see why its explicitly told not to
        -Thanks
        Mitch
        www.rush2112.net

        "Did you test it in carwings??"

        Sun, Come shine my way
        May healing waters bury all my pain
        Wind, Carry me home
        The fabric of reality is tearing apart
        The piece of me that died
        Will return To live again

        Comment


        • #5
          oh if you don't believe me try


          L,550,100,450,10,0,0,0,50,"Arial","=USUAL-LABEL","LEFT",,"DS=2,2,80,80,80"

          note size of 10... it will resize to at least 75!
          -Thanks
          Mitch
          www.rush2112.net

          "Did you test it in carwings??"

          Sun, Come shine my way
          May healing waters bury all my pain
          Wind, Carry me home
          The fabric of reality is tearing apart
          The piece of me that died
          Will return To live again

          Comment


          • #6
            both labels have the same size and font-size.
            but in illustration exist differences.
            the fontsize 50 is just an example. the issue exist with 16 too.

            my complete skin is created in 1066x600. But i want use it with 1366x768, because some windows like window screen settings does not fit in screen by heigt 600. can't see the ok or cancel button.
            RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
            RR-Plugin: IBusCommunicatoRR new Updates

            Comment


            • #7
              ok, if i understand.
              i should resize the label-heigt bigger as the font, and all is fine.
              RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
              RR-Plugin: IBusCommunicatoRR new Updates

              Comment


              • #8
                I meant to take out that big font stuff, size of font not matter

                a font of say 20, doesn't fit into a label sized 20
                you need the label bigger!

                also consider drop shadow adds to size a few px

                so.. make label area bigger so font will fit
                then all is good
                -Thanks
                Mitch
                www.rush2112.net

                "Did you test it in carwings??"

                Sun, Come shine my way
                May healing waters bury all my pain
                Wind, Carry me home
                The fabric of reality is tearing apart
                The piece of me that died
                Will return To live again

                Comment


                • #9
                  ok. now i understand.

                  but why is this difference between these two labels?

                  sorry, for my bad english.
                  RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
                  RR-Plugin: IBusCommunicatoRR new Updates

                  Comment


                  • #10
                    there isn't, except... non scroll rr will resize it

                    try my example

                    L,550,100,450,10,0,0,0,50,"Arial","=USUAL-LABEL","LEFT",,"DS=2,2,80,80,80"

                    this says 10, but clearly the whole font is there.. so how did it fit 50(which turns out to be 75) to fit?
                    rr resizes improperly done labels

                    I don't have an answer that makes sense, but what you have to do on ALL labels, is make it look right
                    if its right, it will scale...

                    in this case

                    L,550,100,450,80,0,0,0,50,"Arial","=USUAL-LABEL","LEFT",,"DS=2,2,80,80,80"

                    80 since I got drop shadow too
                    -Thanks
                    Mitch
                    www.rush2112.net

                    "Did you test it in carwings??"

                    Sun, Come shine my way
                    May healing waters bury all my pain
                    Wind, Carry me home
                    The fabric of reality is tearing apart
                    The piece of me that died
                    Will return To live again

                    Comment


                    • #11
                      ok. it's a automatic function, if the label-heigt is to small. and don't work for all options.
                      RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
                      RR-Plugin: IBusCommunicatoRR new Updates

                      Comment


                      • #12
                        it wont do it for : a = "scroll" Or a = "vcente" Or a = "middle" Or a = "vhcent"
                        im not sure why it don't, and don't want to change it for the sake of change
                        till I know why
                        -Thanks
                        Mitch
                        www.rush2112.net

                        "Did you test it in carwings??"

                        Sun, Come shine my way
                        May healing waters bury all my pain
                        Wind, Carry me home
                        The fabric of reality is tearing apart
                        The piece of me that died
                        Will return To live again

                        Comment

                        Working...
                        X