Skip to main content
Participant
August 25, 2022
Question

Al editar el texto de un botón (componente) cambia el alto del botón

  • August 25, 2022
  • 1 reply
  • 142 views

Hola.

 

Estoy trabajando con un documento en la nube con su biblioteca compartida.

Con este archivo trabajo tanto desde un Mac como desde un Win.

Tengo un botón como componente. Muy sencillo fondo + texto.

El problema es que edito el texto de ese botón en mi equipo Windows y me cambia el alto del botón.

Desde el otro equipo (Mac) no tengo ese problema.

Me respeta la altura.

 

¿Alguna idea de por qué ocurre esto?

Muchas gracias de antemano.

    This topic has been closed for replies.

    1 reply

    AkinGn
    Community Expert
    Community Expert
    October 3, 2022

    Hi @defaultkd7lmckkfbuw, I did some tests and that only can be possible if the text size on the right button is 1px bigger, as I saw in my tests, you can see here: https://xd.adobe.com/view/c06f3e74-797b-46e2-a6f5-333bc9daa89b-953c/ 

     

    Or, the text element's height is set 2px bigger without changing the actual text size (in order that to happen, the text's property need to be set to "fixed size" under the "Text" section) Actually that might be the issue in your file since the text in the right button looks a little misaligned, has slightly more bottom padding that the top one.


    I can't think of any other reasons now, could you please check the sizes & heights of those texts, I'm curious about this let's see if any other experts have any opinions about this.