DiskUsage: align tab focus mark with label.

Fixes #6905.
This commit is contained in:
Adrien Destugues
2014-12-03 08:41:09 +01:00
parent 555c1cbfd8
commit 5da82e3a10
+9
View File
@@ -39,6 +39,7 @@ public:
float IconWidth() const;
virtual void DrawLabel(BView* owner, BRect frame);
virtual void DrawFocusMark(BView* owner, BRect frame);
private:
BBitmap* fIcon;
@@ -95,6 +96,14 @@ VolumeTab::DrawLabel(BView* owner, BRect frame)
}
void
VolumeTab::DrawFocusMark(BView* owner, BRect frame)
{
frame.left += IconWidth();
BTab::DrawFocusMark(owner, frame);
}
VolumeTab::~VolumeTab()
{
delete fIcon;