Patch to add 'close tab' button in Mozilla style to Konqueror.

Rik Hemsley rik at kde.org
Wed Jun 5 02:20:53 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oops, took out the resizeEvent() code and forgot to put it back in.

Just a case of...

void KonqFrameTabs::resizeEvent(QResizeEvent *)
{
  if (tabBar()->width() > width() - 20)
    tabBar()->resize(tabBar()->width() - 20, tabBar()->height());

  m_closeActiveTabButton->move(width() - 18, 2);
}

Something like that, anyway.

Rik

- -- 
http://rikkus.info
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8/Wd16rehpl6X9l0RAm7ZAJ4mPxAT37YeXeHLk4YncjBEO0/QGACfUPDG
qZzxSnXNPZVgGgG3gSxX4oI=
=aibb
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list