Searched refs:textWidth (Results 1 - 4 of 4) sorted by relevance

/haiku/src/kits/shared/
H A DTextTable.cpp71 int32 textWidth = text.CountChars(); local
72 if (textWidth > fNeededWidth)
73 fNeededWidth = textWidth;
79 int32 textWidth = text.CountChars(); local
80 if (textWidth == fWidth)
84 if (textWidth > fWidth) {
91 int32 missing = fWidth - textWidth;
/haiku/src/kits/tracker/
H A DTextWidget.cpp148 const BPoseView* view, float textWidth)
151 float viewWidth = textWidth;
154 viewWidth = std::min(column->Width(), textWidth);
188 viewWidth = std::min(view->StringWidth("M") * 30, textWidth);
378 float textWidth = textView->TextRect().Width(); local
386 textWidth -= selectedRegion.Frame().Width();
398 textWidth += textView->StringWidth(text);
408 bool tooWide = textWidth > maxWidth;
147 CalcRectCommon(BPoint poseLoc, const BColumn* column, const BPoseView* view, float textWidth) argument
H A DPose.cpp499 float textWidth = ceilf(widget->TextWidth(poseView) + 1); local
500 rect.left += (poseView->IconSizeInt() - textWidth) / 2;
501 rect.right = rect.left + textWidth;
954 float textWidth = ceilf(widget->TextWidth(poseView) + 1); local
955 if (textWidth > poseView->IconSizeInt()) {
956 rect.left += (poseView->IconSizeInt() - textWidth) / 2;
957 rect.right = rect.left + textWidth;
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp325 float textWidth = view->StringWidth(text); local
333 iconRect.right -= textWidth + 2;
343 point.x = rect.left + (iconRect.Width() - textWidth) / 2 +
351 point.x = rect.left + (Bounds().Width() - textWidth) / 2;

Completed in 52 milliseconds