[kopete-bugs] [Bug 158628] only a certain amount of tabs are displayed before you have to start scrolling...

Christos Lazaridis christos.lazaridis+kde.bugzilla at gmail.com
Tue May 10 12:50:44 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=158628


Christos Lazaridis <christos.lazaridis+kde.bugzilla at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christos.lazaridis+kde.bugz
                   |                            |illa at gmail.com




--- Comment #8 from Christos Lazaridis <christos lazaridis+kde bugzilla gmail com>  2011-05-10 12:50:43 ---
Same here, Kopete  1.0.80, KDE 4.6.3 on F14. 

Just some notes from browsing through the code:

Even though in KopeteChatWindow::createTabBar(), the setAutomaticResizeTabs()
is set to true, that is what is not working as expected.

The KTabWidget::addTab is inherited from QTabWidget which knows nothing about
automatic resize (the setAutomaticResizeTabs is a KTabWidget property).

So, maybe adding an addTab() to KTabWidget which would handle the automatic
resizing after adding a new tab would work? Unfortunately, a
KTabWidget::resizeTabs() method does not seem to be directly available, so it
cannot be explicitly called from  KopeteChatWindow::addTab(). 

As I do not have the time to learn how to set up an area and try it out --
maybe someone else could give it a shot?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list