60 views
in GUI Development by
Hi,

By default Core::Vertical_list is taking 1pixel gap from one item to next item.

Is there any way to override that one pixel gap, as our layout is different and we don't want one pixel gap between one item and the next item.

 

Thanks in advance,

Meenakshi Sundaram S R.

1 Answer

0 votes
by

Hello Meenakshi Sundaram,

there is no gap in Vertical List. The items are arranged closely one after the other. If you observe a gap, then review your implementation. Possibilities:

- the gap results from the design of your item component.

- the implementation of your OnLoadItem slot method does not correctly adjust the size of the item. See Implement the OnLoadItem slot method to load the items.

I hope it helps you to find the cause of the issue.

Best regards

Paul Banach

by

 

Hi Paul,

I have attached the image for reference. I am talking about the 1pixel gap two items. 

This has nothing to do with vertical list behavior ? 

 

Thank you,

Meenakshi Sundaram S R.

by

Hello Meenakshi Sundaram S R.

This has nothing to do with vertical list behavior ? 

The list does not add any gaps between items. Have you verified the implementation of the list item component and the implementation of the OnLoadItem slot method as recommended in my first answer?

Best regards

Paul

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...