Notifications
Announcements
Hello,
In the model-driven app, Is there a way I can set a default Font and Font size for the rich text control? The users are using different fonts and the SSRS reports do not look good with different font and font sizes.
Hi @snaz ,
Set Control Properties: When you add a Rich Text control to your app, you can access its properties. Look for properties related to formatting, such as "Font" and "Font Size." You might be able to set these properties to a desired default value. However, keep in mind that this might not prevent users from changing the font and font size manually.
Use Defaults in Formulas: If the properties don't allow direct setting of defaults, you might need to use formulas to enforce defaults. For example, you can create a formula that sets the font and font size every time the user interacts with the control.
Validation and Data Transformation: In your app's logic, you can add validation and data transformation steps to ensure that the text entered into the Rich Text control adheres to a certain formatting. This can include writing formulas that check and modify the font and font size of the text. This way, even if users use different fonts and sizes, you can manipulate the entered text before using it in your SSRS reports.
Custom Component or Customization: Depending on your specific needs and the capabilities of Power Apps at the time, you might consider creating a custom component or exploring more advanced customization options that give you greater control over the Rich Text control's appearance and behavior.
Best regards,
Anton Nyrkov
Sorry, forgot to mention, this is for the model-driven app
Oh, in this way you can try this one.
Use Theme and CSS Customization: Power Apps allows you to define themes and apply custom CSS. While this may not directly control the font within the rich text control, it could help maintain a consistent look and feel across the app, which could indirectly affect the rich text control.
User Training: While not a technical solution, you could consider training your users to use a specific font and font size when entering text into the rich text control. This might help align the appearance of the text across the app.
Pre-Processing Text: If you have some level of control over the text entered into the rich text control, you could consider using a script or function to pre-process the text and enforce a consistent font and font size. This could be done by manipulating the HTML or formatting in the text before it's saved.
Custom Control: Depending on your technical expertise, you might consider creating a custom control that extends the functionality of the rich text control. This could potentially allow you to enforce font and font size rules.
Feedback to Microsoft: If this feature is important for your use case, you could provide feedback to Microsoft through the Power Apps Ideas Forum or raise technical support from team. They might consider adding such customization options in future updates based on user demand.
I ran into this in model-driven apps and went down a rabbit hole. Low and behold, the information was in the Microsoft rich-text documentation the whole time. Here are the big points to get you to the finish line:
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268