Lines Matching refs:width
193 *_width = fPreferredSize.width;
227 float width, height;
228 GetPreferredSize(&width, &height);
230 // Resize the width only for B_ALIGN_LEFT (if its large enough already, that is)
231 if (Bounds().Width() > width && Alignment() != B_ALIGN_LEFT)
232 width = Bounds().Width();
234 BView::ResizeTo(width, height);
281 float width = StringWidth(text);
283 if (fTruncation != B_NO_TRUNCATION && width > bounds.Width()) {
289 width = StringWidth(text);
298 x = bounds.Width() - width;
302 x = (bounds.Width() - width) / 2.0;
401 if (fPreferredSize.width != newStringWidth) {
402 fPreferredSize.width = newStringWidth;
485 fPreferredSize.width = _StringWidth(fText);
536 BStringView::GetHeightForWidth(data->width, &data->min, &data->max,
621 float width = StringWidth(lines.StringAt(i));
622 if (maxWidth < width)
623 maxWidth = width;