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

List:       kde-core-devel
Subject:    Patch kdialogbase - resizable buttons
From:       Espen Sand <espensa () online ! no>
Date:       2000-10-01 11:31:13
[Download RAW message or body]

Hi,

Here is fix so that the buttons are resized when the 
text of an action button is changed after the dialog has been 
prepared the first time. This is especially a problem if the 
new text is too wide of course.

please test (99% of the dialogs are not affected since they
never change the text)

-- 
Espen Sand

["kdialogbase.diff" (text/plain)]

Index: kdialogbase.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdeui/kdialogbase.cpp,v
retrieving revision 1.37
diff -r1.37 kdialogbase.cpp
778a779,780
>   mButton.resize( true, 0, spacingHint(), mButtonOrientation );
> 
801a804,805
>   mButton.resize( true, 0, spacingHint(), mButtonOrientation );
> 
817a822,823
>   mButton.resize( true, 0, spacingHint(), mButtonOrientation );
> 
828a835
>     mButton.resize( true, 0, spacingHint(), mButtonOrientation );


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

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