Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
add space between first item and second item of a list container
#16
(2024-11-06, 23:38)ranjibart Wrote:
(2024-11-06, 01:48)Hitcher Wrote: Can you post a mock up because I don't really understand exactly what you want?
I did some photoshop and tried to make it as obvious as possible. I uploaded 3 pics.

starting point: Image

ideally to this (multi-row solution): Image

alternatively (single-row solution): Image

Unless I am not understanding this would be a fixed list wouldn't it? With the focused item always in the same position, but you just want the focusedlayout to be wider than the item layout? Or does something else go in the empty space/space for pic?
Reply
#17
They don't want to use a fixed list.
Reply
#18
So should the empty space move too when focused item changes? I'm really struggling to visualise how this is supposed to look when it moves
Reply
#19
(2024-11-08, 15:05)realcopacetic Wrote: So should the empty space move too when focused item changes? I'm really struggling to visualise how this is supposed to look when it moves

no no, it's fixed. Hence the space. I want to move from number 1 to 2 to 3 etc ... on the pics without changing their places. It's literally a basic list like I have shown in the first picture - except I want space after the first item and don't want the second item/third item/etc... to be seamlessly behind the first. There should be a GAP.

Does that makes sense?
Reply
#20
i made an easier example. Instead of navigating gapless from item 1 (Library):
Image

to item 2 (General):
Image

I want a gap. So I go from item 1 (Library):
Image

to item 2 (General):
Image

Navigation stays the same. Nothing changes for items 3 to item x.

Hope that makes it clearer.
Reply
#21
Like I said, you're going to have to use a hidden list and static images. To fill the images you'll need to use variables with lots of conditions (ie Container(id).Position(pos), Container(id).HasNext, Container(id).HasPrevious, and Container(id).ListItem(offset).Icon).
Reply
#22
(2024-11-09, 14:07)Hitcher Wrote: Like I said, you're going to have to use a hidden list and static images. To fill the images you'll need to use variables with lots of conditions (ie Container(id).Position(pos), Container(id).HasNext, Container(id).HasPrevious, and Container(id).ListItem(offset).Icon).

Ok then. I know I am the only one who could have come up with such a weird request...

Thank you for the solution! I will try to make it happen.
Reply

Logout Mark Read Team Forum Stats Members Help
add space between first item and second item of a list container0