http://bugzilla.novell.com/show_bug.cgi?id=392056
User schaefer.frank@gmx.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=392056#c8
--- Comment #8 from Frank Schäfer 2009-08-14 09:55:57 MDT ---
Created an attachment (id=313027)
--> (http://bugzilla.novell.com/attachment.cgi?id=313027)
Patch
The attached patch should fix it.
New resize-behavior is "auto-resize-to-contents on list/item changes" AND
"user-resizeable".
Please note, the following potential performance-problem:
YQTable::addItem(..) must never be called in a loop to add lots of items,
because it calls resizeToColumns() each time !
That's what YQTable::addItems(...) is for, which calls resizeToColumns() only
one time at the end.
I couldn't build some of the YaST-modules in the current trunk, but AFAICS,
addItem() is used NOWHERE.
If that's correct, we should consider to deactivate/remove it. addItems(...)
can be used for single items, too, and we would be sure to introduce no
unwanted performance-issues in the future...
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.