cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Are there known rendering errors with galleries?

Hi.

 

I have two important galleries in my app -- one for navigation and another for displaying a list of questions. They work fine most of the time but occasionally, PA renders the templates incorrrectly. I only have observed it using PA Studio but then again, I haven't tested my app rigorously against the web interface yet.

 

I don't have screenshots of all the weird rendering I get but here's some scenarios.

  1. For example, the objects under the template do not change size according to content so I have this weird spacing.
    Normal View:
    image.png
    It sometimes becomes this:
    image.png

  2. Or the first few members of the navigation gallery get smushed into a space for one such that I have several buttons piled on top of the other. (Notice the navigation on the left side)
    Normal View:
    image.png
    image.png
    Aberrant Views.
    image.pngimage.png

 

Any thoughts?

 

EDIT. Added screenshots.

EDIT again. Recovered lost screenshot from Chrome cache. 

10 REPLIES 10
Community Support Team
Community Support Team

Re: Are there known rendering errors with galleries?

Hi @Anonymous,

 

Thanks for the feedback.

 

From your screenshots, it seems to be the issue of controls overlapping.

Could you please share more details about how you configured the Control?

Have you configured the Expander control?

 

Further, please take a try with the Group, see if that would help to fix the position of the controls:

Under PowerApps Studio->Home->Group

33.PNG

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mr-dang
Level 10

Re: Are there known rendering errors with galleries?

Is that a flexible height gallery or a regular one?

Microsoft Employee
@8bitclassroom
Anonymous
Not applicable

Re: Are there known rendering errors with galleries?

@v-micsh-msft --

I know the controls are overlapping but the problem is that behavior occasionally messes up (i.e. most of the time, the gallery items do not overlap). I just want to make user that my users would not see this aberrant behavior.

 

And no, I have configured an Expander control. It's just a gallery with a ton of label objects in it. And no, I'm not interested in setting up an Expander control.

 

Also, see below for configuration. It's a tad complicated but I'll do my best.

 

@mr-dang: I think it's a flexible height gallery. It's been a while since I made the object. Right now, I set Height to be around 100 or so. The gallery members (on regular behavior) either take as much as they need or 100px, depending on which is larger.

Anonymous
Not applicable

Re: Are there known rendering errors with galleries?

@v-micsh-msft --

Here's the configuration.

 

For Items, I've used a context variable called ActiveQuestionList that has a structure similar to this:

{
    ID: Text(20),
    ListID: Text(20),
    OrderIndex: Int,
    SectionAbbrev: Text(20),
    Section: Text(),
    Question: Text(),
    AdditionalInstructions: Text(),
    HintText: Text(),
    hasWriterResponse: Text(1),
    hasOIRResponse: Text(1),
    hasStandardResponse: Text(1),
    StandardResponseText: Text(),
    Response: {
        WorkbookID: Text(20),
        QuestionID: Text(20),
        OIRResponse: Text(),
        WriterResponse: Text()
    }
}

Then, a bunch of textboxes inside the gallery template. For position and sizing properties, here are their usual values.

AutoHeight: True
Width: Parent.Width - 50
Height: 100 // Ignored because of AutoHeight
X: Some Constant, usu. 20
Y: ElementBefore.Y + ElementBefore.Height + (Some Integer)

Let me know if you need for information.

mr-dang
Level 10

Re: Are there known rendering errors with galleries?


@Anonymous wrote:

Then, a bunch of textboxes inside the gallery template. For position and sizing properties, here are their usual values.

AutoHeight: True
Width: Parent.Width - 50
Height: 100 // Ignored because of AutoHeight
X: Some Constant, usu. 20
Y: ElementBefore.Y + ElementBefore.Height + (Some Integer)

Let me know if you need for information.


I think "flexible height" means that the Template Size property is flexible for each record, not exactly the entire gallery's container size.

 

Can you share what you have set for Gallery.TemplateSize?

 

 

I've had some problems with flexible height galleries:

 

Microsoft Employee
@8bitclassroom
Anonymous
Not applicable

Re: Are there known rendering errors with galleries?

@mr-dang --

Hi. Yeah, I'm pretty sure that the gallery is flexible-height one since the template size increases accordingly with the labels. The property-value pairs I gave earlier were for the textboxes and that decides how big the template for each item should be. 

 

For the values for the Template Size for the galleries, I have two.

TemplateSize for the Question and Response Gallery: 1000
TemplateSize for the Navigation Gallery: 30

One of my main problems here is that I haven't found a way to consistently replicate the bug. 

 

And another thing -- It's pretty important for the gallery to be able to adjust its template size depending on content. One question may have a long response and the next item have a really short one. Perhaps, can I replicate the flexibility in another type of gallery, one that is not so buggy?

Anonymous
Not applicable

Re: Are there known rendering errors with galleries?

@v-micsh-msft --

I kind of forgot to respond to the second part of your message -- which is to try grouping. I don't understand this part. How am I supposed to use that? Group the textboxes inside the gallery template? Group the gallery?

Anonymous
Not applicable

Re: Are there known rendering errors with galleries?

Bump.

mr-dang
Level 10

Re: Are there known rendering errors with galleries?

Can you share the configuration you have for the Y property of those objects?

Microsoft Employee
@8bitclassroom

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,531)