font-awesome problem - Forum

Forum Navigation
You need to log in to create posts and topics.

font-awesome problem

Hi luishp,

Why some of svg icons are not symmetric(they are not in the center of view-box)?

Sometime,It annoy me . example: svgellipsisv,

How can align it to center?

Uploaded files:
  • You need to login to have access to uploads.

Sorry @asmat, that's they way fontawesome SVG's are coded. They do not have the same viewbox.
Try using text based font-awesome. At design time add this to a Container HTML:

<style>
@import url(https://use.fontawesome.com/releases/v5.0.8/css/all.css);
</style>
<i style="font-size:40pt;" class="far fa-smile"></i>

If you only need run time add this instead to Project > Properties > Advanced > Custome Metadata > head

<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>