Revert "BBox: Always offset the top border by the same amount"

This reverts commit 39899cf662.

Checked with BeOS R5, and this is not how it works, to remain
compatable we need to go back to how this was before.
This commit is contained in:
John Scipione
2013-05-30 21:47:04 -04:00
parent cebb446f55
commit fc77b031d7
2 changed files with 17 additions and 30 deletions
-2
View File
@@ -63,7 +63,6 @@ class BBox : public BView {
virtual void ResizeToPreferred();
virtual void GetPreferredSize(float* _width, float* _height);
virtual void MakeFocus(bool focused = true);
virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
virtual status_t GetSupportedSuites(BMessage* message);
virtual status_t Perform(perform_code d, void* arg);
@@ -97,7 +96,6 @@ class BBox : public BView {
border_style fStyle;
BView* fLabelView;
LayoutData* fLayoutData;
float fLabelHeight;
};
#endif // _BOX_H