Lines Matching refs:height

135  * Returns minimum width and height that will preserve the same layout.
139 static void DoLayout(bbw, width, height, reply_width, reply_height, position)
141 Dimension width, height;
147 Dimension w, h; /* Width and height needed for box */
148 Dimension lw, lh; /* Width and height needed for current line */
149 Dimension bw, bh; /* Width and height needed for current widget */
154 /* Box width and height */
159 /* Line width and height */
183 DoLayout(bbw, lw + bw, height, reply_width,
191 * situations (e.g. when only the height changes --
206 bh = widget->core.height + 2*widget->core.border_width;
211 if (!vbox && width && lw > width && lh < height) {
212 /* reduce width if too wide and height not filled */
217 while (sh < height && sw > width) {
219 DoLayout(bbw, sw-1, height, &sw, &sh, False);
221 if (sh < height) width_needed = sw;
223 DoLayout(bbw,width_needed,height,reply_width,reply_height,position);
267 Dimension width /*, height */;
281 constraint->height == w->box.last_query_height)) {
285 preferred->height = preferred_height;
288 constraint->height == preferred_height)
297 width that will fit me within the height constraint */
301 w->box.last_query_height= constraint->height;
311 /* height is currently ignored by DoLayout.
312 height = (constraint->request_mode & CWHeight) ? constraint->height
319 preferred_height > constraint->height) {
320 /* find minimum width for this height */
326 do { /* find some width big enough to stay within this height */
330 } while (preferred_height > constraint->height &&
337 } while (preferred_height < constraint->height);
346 preferred->height = w->box.preferred_height = preferred_height;
350 && constraint->height == preferred_height)
368 DoLayout((BoxWidget)w, w->core.width, w->core.height, &junk, &junk, TRUE);
374 * Try to do a new layout within the current width and height;
388 DoLayout( bbw, bbw->core.width, bbw->core.height,
396 (bbw->core.height == preferred_height)) {
415 DoLayout( bbw, bbw->core.width, bbw->core.height,
418 (preferred_height <= bbw->core.height))
440 /* recalc bounding box; height might change */
448 constraints.height = proposed_height;
473 Dimension width, height, borderWidth;
488 request->height = w->core.height;
494 height = w->core.height;
497 w->core.height = request->height;
509 (request->height + request->border_width <= height + borderWidth))
511 || bbw->box.preferred_height < bbw->core.height
521 w->core.height = height;
560 if (newbbw->core.height == 0)
561 newbbw->core.height = newbbw->box.preferred_height;