Scroller taking up space in UI despite being deleted

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
lostmushroom
Posts: 192
Joined: Mon Jul 01, 2019 1:21 pm

Scroller taking up space in UI despite being deleted

Post by lostmushroom »

Hey Tony, just a small thing I can't figure out, I'm wondering how to get rid of the scroller in the dialogue UI. I deleted the object and set the Button Template Scroller component to None, but there is still this weird space in the text box where the scroller used to be. I also disabled the Uniy UI Scrollbar Enabler on the Dialogue Panel.
scroller.JPG
scroller.JPG (18.12 KiB) Viewed 188 times
Thanks!
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scroller taking up space in UI despite being deleted

Post by Tony Li »

Hi,

Inspect the Scroll Rect GameObject, and set the Rect Transform component's Right value to 0.
lostmushroom
Posts: 192
Joined: Mon Jul 01, 2019 1:21 pm

Re: Scroller taking up space in UI despite being deleted

Post by lostmushroom »

Thanks!
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scroller taking up space in UI despite being deleted

Post by Tony Li »

Glad to help!
Post Reply