Menu ▾ ▴

#424 BrandingText /TRIM* expands label

2.0 Series
closed-fixed
5
2005-12-31
2005-11-21
Joel
No

I use this:

BrandingText "/TRIMCENTER" "GloboRola: instalado con
NSIS 2.10"

The "G" of "GloboRola" is almost under the <cancel> button.

Discussion

  • Amir Szekely

    Amir Szekely - 2005-11-24

    Logged In: YES
    user_id=584402

    That happens because the string is too large to fit the
    label. Instead of trimming the label down, it actually
    expands the label to fit the string. What would you have it
    do in this case? An error? A warning? Not expand beyond the
    original size?

     
  • Amir Szekely

    Amir Szekely - 2005-11-24
    • assigned_to: nobody --> kichik
     
  • Amir Szekely

    Amir Szekely - 2005-11-24
    • summary: Bug on BrandingText --> BrandingText /TRIM* expands label
     
  • Joel

    Joel - 2005-12-03

    Logged In: YES
    user_id=1293111

    Yeah... I think is because is the string too long, but I
    think it's suppose to be centered the static control....
    I think that's the poblem....no errors or warnings, the
    string isn't just centered.

     
  • Amir Szekely

    Amir Szekely - 2005-12-03

    Logged In: YES
    user_id=584402

    It's centered, but the label grows to fit the text. Being
    centered in this case means it trims equally from both sides
    to fit the label. However, when the string is too large, it
    expands equally from both sides instead.

     
  • Joel

    Joel - 2005-12-15

    Logged In: YES
    user_id=1293111

    So, my solution would be reduce the string on branding.

     
  • Amir Szekely

    Amir Szekely - 2005-12-31
    • status: open --> closed-fixed
     
  • Amir Szekely

    Amir Szekely - 2005-12-31

    Logged In: YES
    user_id=584402

    I've added a warning.

     

Log in to post a comment.