Lines Matching refs:width

170 	     horizontal ? clip->core.width : clip->core.height);
233 XtSetArg(clip_args[arg_cnt], XtNwidth, w->core.width); arg_cnt++;
254 clip_width = w->core.width;
258 ((int)w->core.width >
259 (int)(h_bar->core.width + h_bar->core.border_width)) )
260 clip_width -= h_bar->core.width + h_bar->core.border_width;
352 XtResizeWidget( child, child->core.width,
384 GetGeometry( widget, child->core.width, child->core.height );
386 ( (FormWidget)w, w->core.width, w->core.height, True );
414 clip->core.width, child->core.width );
436 rep.slider_width = clip->core.width;
438 rep.canvas_width = child->core.width;
454 if (-x + (int)clip->core.width > (int)child->core.width)
455 x = -(child->core.width - clip->core.width);
487 clip_width = w->core.width;
506 * intended.{width,height} caches the eventual child dimensions,
514 if ((int)child->core.width < clip_width)
515 intended.width = clip_width;
517 intended.width = child->core.width;
528 preferred.width = child->core.width;
536 preferred.width = intended.width;
540 prev_width = intended.width;
550 (int)preferred.width > clip_width) { \
560 intended.width = preferred.width; \
570 clip_width -= bar->core.width + bar->core.border_width;
577 (int)preferred.width < clip_width) {
578 intended.width = clip_width;
588 && intended.width != prev_width)
598 w->viewport.vert_bar->core.width +
620 ? w->viewport.vert_bar->core.width
640 XtResizeWidget( bar, bar->core.width, (Dimension)clip_height, (Dimension)bw );
643 ? w->core.width - bar->core.width - bw
653 XtResizeWidget( child, (Dimension)intended.width,
694 *clip_width -= w->viewport.vert_bar->core.width +
714 intended->width = *clip_width;
724 intended->width = preferred.width;
726 intended->width = child->core.width;
739 intended->width = child->core.width;
742 if (*clip_width > (int)intended->width)
743 intended->width = *clip_width;
756 static Boolean Layout(w, width, height)
758 Dimension width, height;
761 w->form.preferred_width = w->core.width;
800 x = (int)(-*percent * child->core.width);
802 x = -(int)(*percent * child->core.width);
823 if (request->width < w->core.width || request->height < w->core.height)
840 request->width += sb->core.width;
846 #define WidthChange() (request->width != w->core.width)
909 (rWidth ? request->width : w->core.width),
913 child_changed_size = ((rWidth && child->core.width != request->width) ||
917 if (rWidth && w->core.width != request->width) {
918 if (w->viewport.allowhoriz && request->width > w->core.width) {
927 allowed.width = w->core.width;
932 /* vertical scrollbar will be needed, so possibly reduce width */
933 if (!w->viewport.allowhoriz || request->width < w->core.width) {
938 allowed.width = w->core.width;
941 if ( (int)allowed.width >
942 (int)(bar->core.width + bar->core.border_width) )
943 allowed.width -= bar->core.width + bar->core.border_width;
945 allowed.width = 1;
954 if (allowed.width != request->width || allowed.height != request->height) {
959 if (rWidth) child->core.width = request->width;
973 static Boolean GetGeometry(w, width, height)
975 Dimension width, height;
980 if (width == w->core.width && height == w->core.height)
984 geometry.width = width;
988 if (((ViewportWidget)w)->viewport.allowhoriz && width > w->core.width)
989 geometry.width = w->core.width;
994 if (w->core.width != 0) {
996 geometry.width = w->core.width;
1039 x = child->core.width;
1043 x = (Position) (((float) child->core.width) * xoff);
1072 if (x > (int)child->core.width)
1073 x = child->core.width;