CVS commit by ossi: use button margin pixel metric to define the size of the user face button. i could do the same with the logo button, but i think it makes more sense to just replace it with an url requester - a reasonable logo size is 300x300, which is way too big for the dialog anyway. M +3 -1 kdm-users.cpp 1.74 --- kdebase/kcontrol/kdm/kdm-users.cpp #1.73:1.74 @@ -21,4 +21,5 @@ #include +#include #include #include @@ -158,5 +159,6 @@ KDMUsersWidget::KDMUsersWidget(QWidget * userbutton->setAcceptDrops( true ); userbutton->installEventFilter( this ); // for drag and drop - userbutton->setFixedSize( 50, 50 ); + uint sz = style().pixelMetric( QStyle::PM_ButtonMargin ) * 2 + 48; + userbutton->setFixedSize( sz, sz ); connect( userbutton, SIGNAL(clicked()), SLOT(slotUserButtonClicked()) );