From kmdi-devel Fri Mar 04 15:01:22 2005 From: dhdev () gmx ! de (Dominik Haumann) Date: Fri, 04 Mar 2005 15:01:22 +0000 To: kmdi-devel Subject: kdelibs Message-Id: <200503041501.18783.dhdev () gmx ! de> X-MARC-Message: https://marc.info/?l=kmdi-devel&m=113279996130550 On Friday 04 March 2005 00:16, Dominik Haumann wrote: > CVS commit by dhaumann: > > This patch does the following > - implement splitterKeepSize correctly. > - Internally use always highResolution due to *ugly* rounding bugs. > - in fact, the high resolution mode never worked 100%. KDockWidget > always assumes a splitter position between 0..100 but it was 0..10000, > which lead to size-bugs undock/redock actions. Now mainly for Quanta and KDevelop I suggest to try something like #if KDEVERSION >= 3.4.90 manager()->setSplitterKeepSize(true); #endif If you now resize the mainwindow, the dockwidgets will stay in a fixed size, and if you close the left sidebar, the right does not get bigger (especially this was very annoying). Cheers, -- Dominik GPG Fingerprint: AC88 49E3 D8A5 0541 5B71 AC6E 29AA 1696 FF64 EDBC User-Agent: KMail; Desktop: KDE; OS: Gentoo/Linux; *free software* -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://mail.kde.org/pipermail/kmdi-devel/attachments/20050304/fbc4a09a/attachment.pgp