lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 11-23-2013, 01:53 PM
Gimp Gimp is offline
The Undefeated
 
Join Date: May 2012
Posts: 7
Scrollbar Overlap Problems

So I'm having this problem with my scrollbar where the content in my listbox is running ontop of my scrollbars.



Is there a way to force the scrollbars to the top?

Thanks,
Gimp
Reply With Quote
  #2  
Unread 11-23-2013, 02:21 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 340
While you could use the ZOrder to force them to the top that is not really the best solution. The simplest thing is to make the scrollbars a child of the control that contains the listbox and position them outside of the listbox. That is, if you have a control like windowBackground that contains a control listbox1, then for your vertical scrollbar, you would create a scrollbar and set the parent to windowBackground, height to the height of listbox1, top to the top of listbox1 and left to the width of listbox1.

NOTE, there used to be a bug that caused bound scrollbars to display incorrectly if the control that they were bound to and the scrollbar itself were both direct children of a window so we had to create container controls to avoid this. I do not know if this condition still exists.
Reply With Quote
  #3  
Unread 11-23-2013, 02:47 PM
Gimp Gimp is offline
The Undefeated
 
Join Date: May 2012
Posts: 7
Sweet, setting them as child to the window and putting them outside the listbox worked.

Thank you Garan!



Last edited by Gimp : 11-23-2013 at 02:57 PM. Reason: Edit to show result
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Buffs/Debuffs Overlap Vitals maradakia Interface Requests (L) 0 11-15-2011 02:46 PM
Vista Problems tfreyguy Interface Help (L) 2 12-20-2007 08:45 AM
Having Problems Installing UI SpenceDogg Interface Help (L) 4 07-16-2007 08:37 AM
Quickslot Problems Skald Interface Help (L) 3 07-01-2007 10:21 AM


All times are GMT -5. The time now is 06:19 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui