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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Background Color Diffe...
Power Apps
Unanswered

Background Color Difference of Forms Depending on DefaultMode

(0) ShareShare
ReportReport
Posted on by 39

I have two forms in my app.  One form is in DefaultMode.New and the other is in DefaultMode.View.  They are both on the same screen next to each other.  I want both of their backgrounds to match colors, so they both have the same RGB background color set.  When I am designing the app, everything matches and looks great, but when I hit play or test the app live, the form with DefaultMode.New as the setting changes to a slightly darker version of the initial color.  What I realized is, this is being caused by the DefaultMode, because when they are both set to new, or both set to view, the colors match.  Unfortunately I need them in two different states, with the same color as a background.  Is there any way to fix this so there is no color shift depending on mode?  It seems this shouldn't happen, and I can't find any setting that addresses this issue.

 

Thanks in advance.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @videnoir83 ,

    There is really no setting or reason for this to happen - what color are you using ?

  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @videnoir83,

     

    The forms in both states should have the exact same background if they have the same RGBA value defined in the Fill property. The background might differ when no item is found for the view Form - make sure you have a valid record defined in the Item property of this form. This occurs due to a semi transparent grey overlay being shown which indicates that no record was found to display.

     

    Besides the 'No item to display' overlay, I was unable to make the background colors differ between Form states. Should this be the issue, you could show your own 'custom' No item to display pop-up over the View Form when no record is found. (Rectangle with the correct Fill color & a Label; Visible property would be IsBlank(RecordReference) with RecordReference being the value in the View Forms item property)

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • videnoir83 Profile Picture
    39 on at

    It seems you were right in that the issue was the View Form didn't have data in it, because it runs through a deep link to grab data from a SharePoint.  I retested it live and it appears as normal.  Thanks.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard