fix initial list width (dont overlap scrollbar)
SVN revision: 56267
This commit is contained in:
parent
d8309aeb84
commit
5f014d9089
|
@ -395,6 +395,10 @@ _e_smart_reconfigure_do(void *data)
|
|||
Evas_Coord aspect_w, aspect_h;
|
||||
|
||||
if (!sd) return ECORE_CALLBACK_CANCEL;
|
||||
|
||||
sd->idle_enter = NULL;
|
||||
if (sd->w < 1) return ECORE_CALLBACK_CANCEL;
|
||||
|
||||
if (sd->cx > (sd->cw - sd->w)) sd->cx = sd->cw - sd->w;
|
||||
if (sd->cy > (sd->ch - sd->h)) sd->cy = sd->ch - sd->h;
|
||||
if (sd->cx < 0) sd->cx = 0;
|
||||
|
|
Loading…
Reference in New Issue