Lines Matching refs:preferred_width
268 Dimension preferred_width = w->box.preferred_width;
284 preferred->width = preferred_width;
287 constraint->width == preferred_width &&
316 &preferred_width, &preferred_height, FALSE);
321 if (preferred_width > constraint->width) {
325 width = preferred_width;
329 DoLayout(w, width, 0, &preferred_width, &preferred_height, FALSE);
334 width = preferred_width;
335 DoLayout(w, preferred_width-1, 0,
336 &preferred_width, &preferred_height, FALSE);
339 DoLayout(w, width, 0, &preferred_width, &preferred_height, FALSE);
345 preferred->width = w->box.preferred_width = preferred_width;
349 && constraint->width == preferred_width
384 Dimension preferred_width, preferred_height;
389 &preferred_width, &preferred_height, FALSE );
391 /* at this point, preferred_width is guaranteed to not be greater
395 if ((bbw->core.width == preferred_width) &&
403 proposed_width = preferred_width;
416 &preferred_width, &preferred_height, FALSE );
417 if ((preferred_width <= bbw->core.width) &&
425 proposed_width >= preferred_width) {
439 else if (proposed_width != preferred_width) {
442 &preferred_width, &preferred_height, FALSE);
450 proposed_width = preferred_width;
510 || bbw->box.preferred_width < bbw->core.width
554 newbbw->box.preferred_width = Max(newbbw->box.h_space, 1);
558 newbbw->core.width = newbbw->box.preferred_width;