lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Tutorials & Other Helpful Information (L)

Reply
Thread Tools Display Modes
  #1  
Unread 03-14-2011, 08:26 PM
lunarwtr's Avatar
lunarwtr lunarwtr is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2011
Posts: 121
Tab Control and Auto Sizing Label

I know as soon as I started coding in Lua last month, the controls and functionality that I really wanted didn't exist. If I missed a post or plugin that already provided these controls, I apologize ahead of time.

In the 1.3-beta of Compendium I implemented both a basic tab control and autosizing label.

Autosizing is for when you want a label that you do not know the width or the height of ahead of time till content is in it (so it does not wrap out of sight). There are limitations with this in minor cases. It also forces you to change coding habits as auto sizing has effects to this controls dependant on the labels position. Autosizing works through the use of scrollbars. If the content is too small you keep increasing it till scrollbar disappears.

I realize autosizing could be done on a broader scale (more than just labels). I'd love to see a list control that could adjust its row height. This was beyond my imediate needs in compendium, so perhaps someone else with more time could carry that baton, or direct me to an addon that has already solved this.

Thank you for your time.
__________________
Author of Lotro Compendium, Waypoint, and Lotro Plugin Compendium (LPC)
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
Control.MouseWheel() event not working for you? Digital_Utopia Lua Programming Help (L) 7 06-20-2011 12:42 PM
Quest auto-resolution mod Riffa Interface Requests (L) 4 12-06-2010 10:17 AM
Auto-load Plugins goldbishop Lua Programming Help (L) 3 11-13-2010 04:45 PM
Can UI mods control which music is played? Vair Interface Requests (L) 2 06-13-2009 11:05 AM
Removing Auto Attack-Indicator Grimholm Graphics modification help (L) 15 07-07-2007 05:33 AM


All times are GMT -5. The time now is 07:39 AM.


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