web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to make text font ...
Power Apps
Answered

How to make text font size dynamic i.e based on screen resolution

(1) ShareShare
ReportReport
Posted on by 301

I want to make my font dynamic based on screen resolution, because on change of screen , my datacard key Text property doesn't show the entire Title/text .
I'm new to power apps.

font.png
font1.png
Categories:
I have the same question (0)
  • Verified answer
    jadhav_ravi_oo7 Profile Picture
    276 on at

    To Change the Size Of text According to screen resolution you Can Use Below Formula

     

    On Font Size Property Of Control

    Switch(App.ActiveScreen.Size,1,12,2,14,3,16,18)

    Use below Formul This will Change Font Size

     

     

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @apeawakening ,

     

    Do you mean that you want to show the whole employee name in data card?

    Please try this:

    Set the width of employee name data card:

    Text(200+Len(DataCardName.Update))

     

    Best regards,

     

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @apeawakening ,

     

    You may try and use App.Width/100 for Size property of the Label:

    vjefferni_0-1698053777445.png

     

    If this doesn't work, please share display settings of your App.

     

    Best regards,

  • Ape Awakening Profile Picture
    301 on at

    Hey Ravi thanks mate.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard