Lines Matching refs:height

170 	     horizontal ? clip->core.width : clip->core.height);
234 XtSetArg(clip_args[arg_cnt], XtNheight, w->core.height); arg_cnt++;
251 * Set the clip widget to the correct height.
255 clip_height = w->core.height;
263 ((int)w->core.height >
264 (int)(v_bar->core.height + v_bar->core.border_width)) )
265 clip_height -= v_bar->core.height + v_bar->core.border_width;
353 child->core.height, (Dimension)0 );
384 GetGeometry( widget, child->core.width, child->core.height );
386 ( (FormWidget)w, w->core.width, w->core.height, True );
418 clip->core.height, child->core.height );
437 rep.slider_height = clip->core.height;
439 rep.canvas_height = child->core.height;
457 if (-y + (int)clip->core.height > (int)child->core.height)
458 y = -(child->core.height - clip->core.height);
488 clip_height = w->core.height;
506 * intended.{width,height} caches the eventual child dimensions,
519 if ((int)child->core.height < clip_height)
520 intended.height = clip_height;
522 intended.height = child->core.height;
529 preferred.height = child->core.height;
538 preferred.height = intended.height;
541 prev_height = intended.height;
556 clip_height -= bar->core.height + \
564 if (w->viewport.allowvert && (int)preferred.height > clip_height) {
574 intended.height = preferred.height;
582 (int)preferred.height < clip_height) {
583 intended.height = clip_height;
590 && intended.height != prev_height));
601 w->viewport.horiz_bar->core.height +
617 XtResizeWidget( bar, (Dimension) clip_width, bar->core.height, (Dimension) bw );
623 ? w->core.height - bar->core.height - bw
646 ? w->viewport.horiz_bar->core.height
654 (Dimension)intended.height, (Dimension)0 );
667 * intended - the cache of the childs height is
702 *clip_height -= w->viewport.horiz_bar->core.height +
710 intended->height = *clip_height;
730 intended->height = preferred.height;
732 intended->height = child->core.height;
737 intended->height = child->core.height;
744 if (*clip_height > (int)intended->height)
745 intended->height = *clip_height;
756 static Boolean Layout(w, width, height)
758 Dimension width, height;
762 w->form.preferred_height = w->core.height;
809 y = (int)(-*percent * child->core.height);
811 y = -(int)(*percent * child->core.height);
823 if (request->width < w->core.width || request->height < w->core.height)
841 request->height += sb->core.height;
847 #define HeightChange() (request->height != w->core.height)
910 (rHeight ? request->height : w->core.height)
914 (rHeight && child->core.height != request->height));
916 height_remaining = w->core.height;
919 /* horizontal scrollbar will be needed so possibly reduce height */
923 height_remaining -= bar->core.height + bar->core.border_width;
930 if (rHeight && height_remaining != request->height) {
931 if (w->viewport.allowvert && request->height > height_remaining) {
950 allowed.height = height_remaining;
954 if (allowed.width != request->width || allowed.height != request->height) {
960 if (rHeight) child->core.height = request->height;
973 static Boolean GetGeometry(w, width, height)
975 Dimension width, height;
980 if (width == w->core.width && height == w->core.height)
985 geometry.height = height;
990 if (((ViewportWidget)w)->viewport.allowvert && height > w->core.height)
991 geometry.height = w->core.height;
995 if (w->core.height != 0) return False;
998 if (w->core.height != 0) geometry.height = w->core.height;
1046 y = child->core.height;
1050 y = (Position) (((float) child->core.height) * yoff);
1077 if (y > (int)child->core.height)
1078 y = child->core.height;