added a max length for the name text control in DriveSetup. it's atm the max value for bfs volumes.

added a TODO as it should depend of the fs type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29149 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2009-02-07 15:43:19 +00:00
parent 90e7d21528
commit 9cb330883d

View File

@ -81,6 +81,8 @@ InitParamsPanel::InitParamsPanel(BWindow* window)
AddCommonFilter(fEscapeFilter);
fNameTC = new BTextControl("Name", NULL, NULL);
// TODO find out what is the max length for this specific FS partition name
fNameTC->TextView()->SetMaxBytes(31);
BPopUpMenu* blocksizeMenu = new BPopUpMenu("Blocksize");
BMessage* message = new BMessage(MSG_BLOCK_SIZE);