[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KAStatusBar
From: Sven Radej <sven () lisa ! exp ! univie ! ac ! at>
Date: 2000-03-15 13:37:18
[Download RAW message or body]
On Wed, 15 Mar 2000, Espen Sand wrote:
(...)
>Hm, do you think it is possible to add an option so that an item can get a fixed
>width? In khexedit I print quite a lot of data on the status line and I don't
>like (it looks bad) that the width of an entry changes all the time depending on
>what is printed because it causes other entries to be moved horizontally when
>this happens. Ok, I can add a widget (and freeze its width) to QStatusBar
>bypassing KStatusBar but I prefer to avoid that.
OK, here you are:
/**
* Sets item @p id to have fixed width. This cannot be undone.
*
* @param id id of item
* @param width fixed width in pixels
*/
void setItemFixed(int id, int width);
--
Sven Radej radej@kde.org
KDE developer Visit http://www.kde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic