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

/haiku-fatelf/src/tests/kits/net/DialUpPreflet/
H A DTextRequestDialog.cpp50 float textHeight = fTextView->TextHeight(0, fTextView->CountLines()); local
51 backgroundView->ResizeBy(0, textHeight + 5);
52 ResizeBy(0, textHeight + 5);
53 fTextView->ResizeBy(0, textHeight - textRect.Height());
54 rect.bottom += textHeight + 5;
/haiku-fatelf/src/tests/kits/net/preflet/DialUpAddOn/
H A DTextRequestDialog.cpp67 float textHeight = fTextView->TextHeight(0, fTextView->CountLines()); local
68 backgroundView->ResizeBy(0, textHeight + 5);
69 ResizeBy(0, textHeight + 5);
70 fTextView->ResizeBy(0, textHeight - textRect.Height());
71 rect.bottom += textHeight + 5;
/haiku-fatelf/src/apps/icon-o-matic/gui/
H A DIconObjectListView.cpp75 float textHeight = (fh.ascent + fh.descent) * 1.5; local
76 middle.y = (b.top + b.bottom) / 2.0 - textHeight;
80 middle.y += textHeight;
84 middle.y += textHeight;
H A DTransformerListView.cpp149 float textHeight = (fh.ascent + fh.descent) * 1.5; local
150 middle.y = (b.top + b.bottom - textHeight) / 2.0;
154 middle.y += textHeight;
H A DStyleListView.cpp88 float textHeight = fh.ascent + fh.descent; local
91 pos.y = itemFrame.top + ceilf((height - textHeight) / 2.0 + fh.ascent);
H A DPathListView.cpp85 float textHeight = fh.ascent + fh.descent; local
88 pos.y = itemFrame.top + ceilf((height - textHeight) / 2.0 + fh.ascent);
/haiku-fatelf/src/kits/interface/
H A DRadioButton.cpp112 float textHeight = ceilf(fontHeight.ascent + fontHeight.descent); local
117 BPoint labelPos(rect.right + floorf(textHeight / 2.0),
118 floorf((rect.top + rect.bottom + textHeight) / 2.0
608 float textHeight = ceilf(fontHeight.ascent + fontHeight.descent); local
609 float inset = -floorf(textHeight / 2 - 2);
H A DAlert.cpp563 float textHeight = fTextView->TextHeight(0, fTextView->CountLines()); local
565 textHeight -= textViewRect.Height();
566 ResizeBy(0, textHeight);
567 fTextView->ResizeBy(0, textHeight);
568 textViewRect.bottom += textHeight;
H A DSlider.cpp1308 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent); local
1319 frame.top = 6.0 + (Label() || fUpdateText ? textHeight + 4.0 : 0.0);
1326 frame.top += textHeight;
1328 frame.top += textHeight;
1336 frame.bottom -= textHeight;
1338 frame.bottom -= textHeight;
1377 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent); local
1383 frame.top = 2 + (Label() || fUpdateText ? textHeight + 4 : 0);
1398 frame.top = 3 + fBarThickness + (Label() ? textHeight + 4 : 0);
/haiku-fatelf/src/apps/webpositive/
H A DAuthenticationPanel.cpp182 float textHeight = textView->LineHeight(0) * textView->CountLines(); local
183 textView->SetExplicitMinSize(BSize(B_SIZE_UNSET, textHeight));
/haiku-fatelf/src/apps/powerstatus/
H A DPowerStatusView.cpp250 float textHeight = ceilf(fontHeight.descent + fontHeight.ascent); local
260 iconRect.bottom -= textHeight + 4;
287 point.y += (iconRect.Height() - textHeight) / 2;
291 point.y += (Bounds().Height() - textHeight) / 2;
/haiku-fatelf/src/preferences/screensaver/
H A DScreenSaverWindow.cpp706 float textHeight = ceilf(fontHeight.ascent + fontHeight.descent); local
709 float radioButtonOffset = 2 * floorf(textHeight / 2 - 2)
710 + floorf(textHeight / 2);
795 float monitorHeight = 10 + textHeight * 3;
847 + monitorHeight + 40 + textHeight * 2;
/haiku-fatelf/src/servers/registrar/
H A DShutdownProcess.cpp364 int textHeight = (int)fTextView->TextHeight(0, 1) + 1; local
369 int buttonsY = textY + textHeight + kInnerVSpacing;
381 textHeight - 1);
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/
H A DListViews.cpp61 float textHeight = fh.ascent + fh.descent; local
65 + ceilf(height / 2.0 - textHeight / 2.0
/haiku-fatelf/src/apps/mediaplayer/playlist/
H A DListViews.cpp69 float textHeight = fh.ascent + fh.descent; local
73 + ceilf(height / 2.0 - textHeight / 2.0

Completed in 116 milliseconds