RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Grid tile background size

    Scheduled Pinned Locked Moved Ideas and Development
    gridview
    47 Posts 8 Posters 5.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • paffleyP
      paffley
      last edited by

      Hey @A12C4 I've been having a play with the grid, very good work! Loving it.

      Just a quick question, is there any way to add padding to the background in the current version?

      Basically I have set an image background and would like the boxart to sit in the middle of it without it overlapping the background edges (stroke/outline) if that makes sense?

      A12C4A 1 Reply Last reply Reply Quote 0
      • A12C4A
        A12C4 @paffley
        last edited by

        @paffley You can change the paddingof the default grid tile <gridtile name="default"> and set it to a bigger value, but it should already have some small padding by default.

        Grid view wiki

        1 Reply Last reply Reply Quote 0
        • paffleyP
          paffley
          last edited by

          Thanks @A12C4 but I was thinking more of the other way round, I was requiring even smaller padding by about 4-5px

          A12C4A 1 Reply Last reply Reply Quote 0
          • A12C4A
            A12C4 @paffley
            last edited by

            @paffley Then set the padding to a lower value ? I'm not sure to understand your request here.

            Grid view wiki

            1 Reply Last reply Reply Quote 0
            • paffleyP
              paffley
              last edited by paffley

              Sorry @A12C4 I've been away and back now.

              On the <gridtile name="default"> and <gridtile name="selected"> I believe it sets the background image when an image is chosen, now, does this set the background image to the 'tile' or the actual 'image'.

              Please see an example below of what I'm trying to achieve.

              0_1527528259054_gridexample.png

              Any help is hugely appreciated, hope it makes sense. :)

              I believe I need the padding to be on the tile grid rather than the image itself?

              Is the default padding set to a default number (e.g <padding>0.1 0.1</padding>) if not selecting the <padding> tag?

              A12C4A 1 Reply Last reply Reply Quote 0
              • A12C4A
                A12C4 @paffley
                last edited by A12C4

                @paffley The padding default value is 16 16 (px). Try increase it to 32 32 for example.

                See the documentation

                Grid view wiki

                1 Reply Last reply Reply Quote 0
                • paffleyP
                  paffley
                  last edited by

                  @A12C4 Perfect! Thanks for the heads up on the docu, some great refs in there! loving this, works amazing. :)

                  Quick note: have you scrapped the scrollDirection for now? when I place <scrollDirection>horizontal</scrollDirection>, the grid vanishes? I'm guessing the horizontal function basically removes the up and down aspect of the feature? I maybe doing something wrong in terms of math but just wanted to double check with you?

                  A12C4A 1 Reply Last reply Reply Quote 0
                  • A12C4A
                    A12C4 @paffley
                    last edited by

                    @paffley There is a bug with the horizontal direction that were added by the latest update.

                    Grid view wiki

                    1 Reply Last reply Reply Quote 0
                    • paffleyP
                      paffley
                      last edited by paffley

                      Thanks @A12C4 I thought maybe there was, my math is not brilliant but I tried all variations possible haha!

                      Is there a changelog for the grid mode available?

                      There was one thing I noticed. I have a horizontal single row grid of 4 and when it goes to the next section (after the 4th tile) it hangs for about 2-3 seconds then loads up the next. It does this everytime it hits the 4th tile and loads up the next page of tiles. I did not notice this on my previous build of 'jessie' with latest emulationstation-dev installed. But on 'stretch' it does the above and hangs.

                      I can do some more tests if you would like?

                      Currently: Running latest retropie stretch build with latest emulationstation-dev installed from experimental packages on a Pi 3.

                      Update: it's as if its loading the grid boxart into the memory because when you go back (to the previous set of tiles) it loads up fine. But on reboot of Pi it starts all over again and hangs.

                      Hope this is helpful.

                      1 Reply Last reply Reply Quote 0
                      • paffleyP
                        paffley
                        last edited by

                        I have around 9 systems loaded with the typical rom set amount and it now just freezes completely when selecting the Grid view so I'm unable to run any further tests.

                        Currently: Running latest retropie stretch build with latest emulationstation-dev installed from experimental packages on a Pi 3.

                        Hope this helps.

                        1 Reply Last reply Reply Quote 0
                        • paffleyP
                          paffley
                          last edited by

                          So, I removed all systems apart from 1, runs fine with no hanging. As soon as you put another system in it starts to hang pretty bad and the obvious of putting more systems on, hangs longer. When I had 9 systems loaded, I left it for over an hour and it was still hanging so I turned off the pi.

                          Currently: Running latest retropie stretch build with latest emulationstation-dev installed from experimental packages on a Pi 3.

                          Hope this helps.

                          A12C4A 1 Reply Last reply Reply Quote 0
                          • A12C4A
                            A12C4 @paffley
                            last edited by

                            @paffley Sorry for not responding I got some troubles with my computer that needed to be fixed before I can get back to this project.

                            Thank you for the testing. This is a well known issue that is being discussed here. A fix should be released soon.

                            Grid view wiki

                            1 Reply Last reply Reply Quote 0
                            • paffleyP
                              paffley
                              last edited by paffley

                              @A12C4 sorry to hear about your computer issues (I know that very well!).

                              That's all super thank you, I'll keep testing from my end, I'm testing tile size, tile amount, image size & file size and also screen resolutions tests to see if anything helps along the way.

                              Keep up the great work, it's very appreciated!

                              I'll keep you updated.

                              1 Reply Last reply Reply Quote 0
                              • paffleyP
                                paffley
                                last edited by

                                Hey @A12C4 Hows the grid view coming along? anything new with it as yet?

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.