Fix the build and put B_UTF8_ELLIPSIS into the B_TRANSLATE macro, my fault.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42269 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c26c18e489
commit
6a9178f51c
@ -51,7 +51,7 @@ ConfigView::ConfigView()
|
||||
void ConfigView::SetTo(const BMessage *archive)
|
||||
{
|
||||
BMailFileConfigView* control = (BMailFileConfigView*)FindView(
|
||||
"fortune_file")
|
||||
"fortune_file");
|
||||
if (control != NULL)
|
||||
control->SetTo(archive, NULL);
|
||||
|
||||
|
@ -38,8 +38,7 @@ BFileControl::BFileControl(BRect rect, const char* name, const char* label,
|
||||
font_height fontHeight;
|
||||
GetFontHeight(&fontHeight);
|
||||
float itemHeight = (int32)(fontHeight.ascent + fontHeight.descent + fontHeight.leading) + 13;
|
||||
BString selectString = B_TRANSLATE("Select");
|
||||
selectString += B_UTF8_ELLIPSIS;
|
||||
BString selectString = B_TRANSLATE("Select" B_UTF8_ELLIPSIS);
|
||||
float labelWidth = StringWidth(selectString) + 20;
|
||||
rect = Bounds();
|
||||
rect.right -= labelWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user