Page 1 of 1

Padding not working how it should be?

Posted: Sat Aug 19, 2017 10:05 am
by Dummy1912
Hello,

In the image i have an panel
but as you can see the padding go out of the panel at the bottom :(
even when you scroll the buttons go over the panel top and even bottom :(

'adding controls
https://drive.google.com/open?id=0B37cl ... XVWMDFzZVE
'when scrolling
https://drive.google.com/open?id=0B37cl ... ktVY1Z5OG8

how can we fix this please
Code: Select all
'tried with any number but don't change  a thing
        AutoScroll = True
        Padding = New Padding(3, 3, 20, 15) '(10, 10, 25, 0)

Thanks

Re: Padding not working how it should be?

Posted: Sun Aug 20, 2017 8:53 am
by Dummy1912
Hello,

It seems when we use the border size of the panel
the controls stays inside :D

but then our own drawn border size will not look that great because the default border size overlaps my drawing :(
anyone has a solution please?
https://drive.google.com/open?id=0B37cl ... 0cyMnlUeUE

Re: Padding not working how it should be?

Posted: Sun Aug 20, 2017 1:03 pm
by Dummy1912
Fix it :)

no worries
just playing and thinking of an way an we managed it :)

result:
https://drive.google.com/open?id=0B37cl ... Wkxa3NoeGs

Thanks.