Searched refs:textHeight (Results 1 - 13 of 13) sorted by relevance

/haiku/src/add-ons/network_settings/dialup/
H A DTextRequestDialog.cpp53 float textHeight = fTextView->TextHeight(0, fTextView->CountLines()); local
54 backgroundView->ResizeBy(0, textHeight + 5);
55 ResizeBy(0, textHeight + 5);
56 fTextView->ResizeBy(0, textHeight - textRect.Height());
57 rect.bottom += textHeight + 5;
/haiku/src/apps/icon-o-matic/gui/
H A DIconObjectListView.cpp81 float textHeight = (fh.ascent + fh.descent) * 1.5; local
82 middle.y = (b.top + b.bottom) / 2.0 - textHeight;
86 middle.y += textHeight;
90 middle.y += textHeight;
H A DTransformerListView.cpp159 float textHeight = (fh.ascent + fh.descent) * 1.5; local
160 middle.y = (b.top + b.bottom - textHeight) / 2.0;
164 middle.y += textHeight;
/haiku/src/apps/webpositive/
H A DAuthenticationPanel.cpp160 float textHeight = textView->LineHeight(0) * textView->CountLines(); local
161 textView->SetExplicitMinSize(BSize(B_SIZE_UNSET, textHeight));
/haiku/src/preferences/screensaver/
H A DScreenSaverWindow.cpp287 float textHeight = ceilf(fontHeight.ascent + fontHeight.descent); local
311 3 + textHeight * 3));
340 float monitorHeight = 10 + textHeight * 3;
349 4 + textHeight * 4));
359 4 + textHeight * 4));
1042 float textHeight = ceilf(fontHeight.ascent + fontHeight.descent); local
1044 fMinHeight = ceilf(std::max(kWindowHeight, textHeight * 28));
/haiku/src/kits/interface/
H A DSlider.cpp1107 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent); local
1118 frame.top = 6.0 + (Label() || fUpdateText ? textHeight + 4.0 : 0.0);
1125 frame.top += textHeight;
1128 frame.top += textHeight;
1136 frame.bottom -= textHeight;
1139 frame.bottom -= textHeight;
1178 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent); local
1184 frame.top = 2 + (Label() || fUpdateText ? textHeight + 4 : 0);
1199 frame.top = 3 + fBarThickness + (Label() ? textHeight + 4 : 0);
H A DButton.cpp673 float textHeight = fontHeight.ascent + fontHeight.descent; local
674 height = ceilf(textHeight * 1.8);
675 float margins = height - ceilf(textHeight);
H A DHaikuControlLook.cpp2361 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent); local
2362 height = std::max(height, textHeight);
2381 if (textHeight < height)
2382 location.y += ceilf((height - textHeight) / 2);
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp324 float textHeight = ceilf(fontHeight.descent + fontHeight.ascent); local
345 point.y += (iconRect.Height() - textHeight) / 2;
348 point.y += (iconRect.Height() - textHeight) / 2;
352 point.y += (Bounds().Height() - textHeight) / 2;
/haiku/src/apps/mediaplayer/playlist/
H A DListViews.cpp72 float textHeight = fh.ascent + fh.descent; local
76 + ceilf(height / 2.0 - textHeight / 2.0
/haiku/src/apps/icon-o-matic/generic/gui/
H A DListViews.cpp76 float textHeight = fh.ascent + fh.descent; local
80 + ceilf(height / 2 - textHeight / 2 + fh.ascent);
/haiku/src/apps/deskbar/
H A DSwitcher.cpp2371 float textHeight = fontHeight.ascent + fontHeight.descent; local
2372 point.y -= (textHeight / 2) + (spacing / 2);
2375 point.y += ((textHeight - bitmap->Bounds().Height()) / 2);
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp2364 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent); local
2365 height = std::max(height, textHeight);
2383 if (textHeight < height)
2384 location.y += ceilf((height - textHeight) / 2);

Completed in 289 milliseconds