Author Topic: Streching ScrollView and its clipping region from edge to edge?  (Read 1307 times)

pretender

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 155
    • View Profile
Streching ScrollView and its clipping region from edge to edge?
« on: December 19, 2014, 07:39:37 AM »
Hi!

i have scrollview with table that positions bunch of buttons horizontaly and i want clipping to work from left to right edge of the screen for every resolution and it should fairly easy to setup...I am a bit frustrated with this since i couldn't manage to make it right. currently i have setup for lowest resolution and let it work that way on higher resolutions (it doesn't stretch to the edge of the screen entirely)

i tried anchoring the scroll view but clipping region is wrong.

checkout the photo and please help, it seems that i am missing something...thanks!
« Last Edit: December 19, 2014, 07:47:10 AM by pretender »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Streching ScrollView and its clipping region from edge to edge?
« Reply #1 on: December 19, 2014, 08:00:00 AM »
Not sure what the screenshot should be showing there...

Anchoring the scroll view is all it should take. It's like any other widget -- it will stretch according to the anchors.