Space between controls DataRepeater/ListView

Answered
0
0

Hi everyone, im using DataRepeater to display my custom controls, but as you can see in the screenshot i cant put a margin space between them at the bottom…

Is there any way to fix it?
And i want to know wich one is better? DataRepeater or ListView? With wich one i can do what i need exacly?

 

Thanks!

Attachment
  • You must to post comments
Best Answer
0
0

Hi Ruben,

You can adjust the Padding of your ItemTemplate, having about 7px on all sides should do the trick!

HTH,
Alaa

  • ruben ribeiro
    Can you give me any example source code or any command that i can use to fix this please sir?
  • Luca
    • Luca
    • Sep 13, 2022 - 10:08 pm
    What is the issue to fix?
  • ruben ribeiro
    I want to give space for each control in the DataRepeater sir, however what Alaa said it’s not working.
  • Luca
    • Luca
    • Sep 13, 2022 - 10:12 pm
    Padding works with docking and there is no reproducible issue. You can set the space between the controls in the Data Repeater Item however you like, If you send a runnable sample showing what you are doing and what you would like the result to look like we may be able to help you with your issue further.
  • ruben ribeiro
    Padding will give a space inside the control. I want to give space outside of the control.
Showing 1 result
Your Answer

Please first to submit.