Lines Matching refs:width

145 	     horizontal ? clip->core.width : clip->core.height);
225 clip_width = w->core.width;
229 (w->core.width > h_bar->core.width + h_bar->core.border_width) )
230 clip_width -= h_bar->core.width + h_bar->core.border_width;
319 XtResizeWidget( child, child->core.width,
351 GetGeometry( widget, child->core.width, child->core.height );
353 ( (FormWidget)w, w->core.width, w->core.height );
380 clip->core.width, child->core.width );
397 if (-x + clip->core.width > child->core.width)
398 x = -(child->core.width - clip->core.width);
430 clip_width = w->core.width;
449 * intended.{width,height} caches the eventual child dimensions,
457 if (child->core.width < clip_width)
458 intended.width = clip_width;
460 intended.width = child->core.width;
471 preferred.width = child->core.width;
479 preferred.width = intended.width;
483 prev_width = intended.width;
492 if (w->viewport.allowhoriz && preferred.width > clip_width) { \
502 intended.width = preferred.width; \
512 clip_width -= bar->core.width + bar->core.border_width;
518 if (!w->viewport.allowhoriz || preferred.width < clip_width) {
519 intended.width = clip_width;
528 && intended.width != prev_width)
538 w->viewport.vert_bar->core.width +
560 ? w->viewport.vert_bar->core.width
580 XtResizeWidget( bar, bar->core.width, clip_height, bw );
583 ? w->core.width - bar->core.width - bw
593 XtResizeWidget( child, (Dimension)intended.width,
629 *clip_width -= w->viewport.vert_bar->core.width +
644 intended->width = *clip_width;
654 intended->width = preferred.width;
656 intended->width = child->core.width;
669 intended->width = child->core.width;
672 AssignMax(intended->width, *clip_width);
684 static Boolean Layout(w, width, height)
686 Dimension width, height;
689 w->form.preferred_width = w->core.width;
727 x = (int)(-*percent * child->core.width);
729 x = -(int)(*percent * child->core.width);
769 (rWidth ? request->width : w->core.width),
774 if (rWidth && w->core.width != request->width) {
775 if (w->viewport.allowhoriz && request->width > w->core.width) {
784 allowed.width = w->core.width;
789 /* vertical scrollbar will be needed, so possibly reduce width */
790 if (!w->viewport.allowhoriz || request->width < w->core.width) {
795 allowed.width = w->core.width;
798 if (allowed.width > (bar->core.width + bar->core.border_width))
799 allowed.width -= bar->core.width + bar->core.border_width;
801 allowed.width = 1;
810 if (allowed.width != request->width || allowed.height != request->height) {
815 if (rWidth) child->core.width = request->width;
829 static Boolean GetGeometry(w, width, height)
831 Dimension width, height;
836 if (width == w->core.width && height == w->core.height)
840 geometry.width = width;
844 if (((ViewportWidget)w)->viewport.allowhoriz && width > w->core.width)
845 geometry.width = w->core.width;
850 if (w->core.width != 0) {
852 geometry.width = w->core.width;