[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    The KStatusBar problem
From:       Espen Sand <espen.sand () neo ! no>
Date:       2000-05-08 6:32:52
[Download RAW message or body]


I remember I had to do something with the KTMainWindow
management of the statusbar (using sizeHint().height() 
instead of size().height()) to get things working for 
khexedit a while back. I marked the changes I made 
with "ES" in the code but I could not find them 
last evening.

As it is now with the change in KStatusBar, the statusbar 
finally works for kedit as well, so I think this is the 
way to go. I have not looked on how the embedding works. 
Is the statusbar managed by a KTMainWindow then?


<CVS LOG>
> 
> kdelibs/kdeui kstatusbar.cpp,1.34,1.35
> Author: espen
> CVSROOT: /home/kde
> Sun May  7 22:03:20 UTC 2000
> Update of /home/kde/kdelibs/kdeui
> In directory bluemchen.i.sourceforge.net:/tmp/cvs-serv18934
> 
> Modified Files:
>       kstatusbar.cpp 
> Log Message:
> 
> Using sizeHint().height() instad of just height() in
> setItemFixed(..). Hopefully this will solve the "too tall
> items" problems when using KStatusBar::setFixedItem(..)

Hmm, it's actually even worse :(((

Try clicking on a .png (or whatever else) in konqueror.
kview gets embedded, and the statusbar becomes .... HUGE.

Interestingly, if the view is split then
- if kview is embedded in both, the statusbar is still huge
- if one view shows an icon view, or an HTML view, then the statusbar
moves down and is ok again...
</CVS LOG>

--
Espen Sand

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic