summaryrefslogtreecommitdiffstats
path: root/views/controls/label.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/label.h')
-rw-r--r--views/controls/label.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/controls/label.h b/views/controls/label.h
index 19d921d..76df4db 100644
--- a/views/controls/label.h
+++ b/views/controls/label.h
@@ -58,6 +58,9 @@ class Label : public View {
// Overridden to compute the size required to display this label
virtual gfx::Size GetPreferredSize();
+ // Overriden to return the baseline of the label.
+ virtual int GetBaseline();
+
// Return the height necessary to display this label with the provided width.
// This method is used to layout multi-line labels. It is equivalent to
// GetPreferredSize().height() if the receiver is not multi-line