author | eilers <eilers> | 2003-09-29 07:48:56 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-09-29 07:48:56 (UTC) |
commit | 9883c4ba419d93e101991a3337ba1ac5de3273c8 (patch) (side-by-side diff) | |
tree | ecb5d96884914a8578f040d4b558f8697b3d60f5 /core/pim/addressbook/abtable.cpp | |
parent | 93b76e67cf954eab09091996a790301369d77a88 (diff) | |
download | opie-9883c4ba419d93e101991a3337ba1ac5de3273c8.zip opie-9883c4ba419d93e101991a3337ba1ac5de3273c8.tar.gz opie-9883c4ba419d93e101991a3337ba1ac5de3273c8.tar.bz2 |
ocontactfields is now moved to libopie/pim
Diffstat (limited to 'core/pim/addressbook/abtable.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abtable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index 4705c78..70330c7 100644 --- a/core/pim/addressbook/abtable.cpp +++ b/core/pim/addressbook/abtable.cpp @@ -462,50 +462,50 @@ void QTable::paintEmptyArea( QPainter *p, int cx, int cy, int cw, int ch ) } #endif #endif // int AbTable::rowHeight( int ) const // { // return 18; // } // int AbTable::rowPos( int row ) const // { // return 18*row; // } // int AbTable::rowAt( int pos ) const // { // return QMIN( pos/18, numRows()-1 ); // } void AbTable::fitColumns() { - // qWarning( "void AbTable::fitColumns()" ); - int contentsWidth = visibleWidth() / 2; // :SX Why too low + qWarning( "void AbTable::fitColumns()" ); + int contentsWidth = visibleWidth() / 2; // Fix to better value // contentsWidth = 130; setPaintingEnabled( FALSE ); if ( columnVisible == false ){ showColumn(0); columnVisible = true; } // qWarning("Width: %d", contentsWidth); setColumnWidth( 0, contentsWidth ); adjustColumn(1); if ( columnWidth(1) < contentsWidth ) setColumnWidth( 1, contentsWidth ); setPaintingEnabled( TRUE ); } void AbTable::show() { // qWarning( "void AbTable::show()" ); realignTable(); |