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

List:       kde-core-devel
Subject:    Standard dialog margins.
From:       Espen Sand <espen.sand () neo ! no>
Date:       1999-08-24 14:37:10
[Download RAW message or body]

I have in khexedit used a header file with the constants
#define OUTER_SEP 6
#define INNER_SEP 6
which I have used everywhere in the dialogs like:
QVBoxLayout *topLayout = new QVBoxLayout( this, OUTER_SEP, INNER_SEP ); 

I have made a number of changes to the kedit dialog boxes (comitted) where I
have used the same values.

I would very much like to see these values in a central header file so that they
are used everywhere. Even better would it be if the values can be provided by 
an object (kapp or something) -something like "outerDialogSizeHint()" and 
"innerDialogSizeHint("). Then the values can be configured (perhaps not from
the control center but perhaps from a lower level tool) 

If these values were used by everybody when designing dialogs, a lot could be
gained making the dialogs better to look at. Today there are so many (hardcoded)
margins that differ from each other.

Where should such values be defined? I can do it if I get some directions for
where and how. 

And:
What about making a KStdButtonBox where Cancel is to the left (and can not be
changed)?


-- 
Espen Sand

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

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