OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:required_width
(Results
1 - 1
of
1
) sorted by null
/external/chromium_org/ui/views/controls/
label_unittest.cc
217
int
required_width
= label.GetLocalBounds().width();
local
218
EXPECT_GT(
required_width
, kMinTextDimension);
221
label.SizeToFit(
required_width
- 1);
226
EXPECT_LT(constrained_width,
required_width
);
231
label.SizeToFit(
required_width
);
232
EXPECT_EQ(
required_width
, label.GetLocalBounds().width());
235
int required_height = label.GetHeightForWidth(
required_width
);
243
// Using the constrained width or the
required_width
- 1 should give the
245
// width when given "
required_width
- 1" as the max width.
247
label.GetHeightForWidth(
required_width
- 1))
[
all
...]
Completed in 53 milliseconds