No need to truncate the labels in layout-managed mode...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30378 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -543,7 +543,6 @@ InstallerWindow::_UpdateMenus()
|
|||||||
else
|
else
|
||||||
label = ((PartitionMenuItem *)fSrcMenu->ItemAt(0))->MenuLabel();
|
label = ((PartitionMenuItem *)fSrcMenu->ItemAt(0))->MenuLabel();
|
||||||
}
|
}
|
||||||
fSrcMenuField->TruncateString(&label, B_TRUNCATE_END, 260);
|
|
||||||
fSrcMenuField->MenuItem()->SetLabel(label.String());
|
fSrcMenuField->MenuItem()->SetLabel(label.String());
|
||||||
|
|
||||||
PartitionMenuItem *item2 = (PartitionMenuItem *)fDestMenu->FindMarked();
|
PartitionMenuItem *item2 = (PartitionMenuItem *)fDestMenu->FindMarked();
|
||||||
@@ -555,7 +554,6 @@ InstallerWindow::_UpdateMenus()
|
|||||||
else
|
else
|
||||||
label = "Please Choose Target";
|
label = "Please Choose Target";
|
||||||
}
|
}
|
||||||
fDestMenuField->TruncateString(&label, B_TRUNCATE_END, 260);
|
|
||||||
fDestMenuField->MenuItem()->SetLabel(label.String());
|
fDestMenuField->MenuItem()->SetLabel(label.String());
|
||||||
char message[255];
|
char message[255];
|
||||||
sprintf(message, "Press the Begin button to install from '%s' onto '%s'",
|
sprintf(message, "Press the Begin button to install from '%s' onto '%s'",
|
||||||
|
|||||||
Reference in New Issue
Block a user