Skip to content

Commit

Permalink
Increase memo and payee character limit
Browse files Browse the repository at this point in the history
  • Loading branch information
dospuntos committed Jul 25, 2024
1 parent 726aefb commit 75facee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CheckView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ CheckView::CheckView(const char* name, int32 flags)
= new BStringView("payeelabel", B_TRANSLATE_CONTEXT("Payee", "CommonTerms"));
payeeLabel->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
fPayee = new PayeeBox("payeeentry", "", NULL, new BMessage(M_PAYEE_CHANGED));
fPayee->SetCharacterLimit(63);

BStringView* amountLabel
= new BStringView("amountlabel", B_TRANSLATE_CONTEXT("Amount", "CommonTerms"));
Expand All @@ -64,7 +65,7 @@ CheckView::CheckView(const char* name, int32 flags)
memoLabel->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
fMemo = new NavTextBox("memoentry", "", NULL, new BMessage(M_MEMO_CHANGED));
fMemo->TextView()->DisallowChar(B_ESCAPE);
fMemo->SetCharacterLimit(21);
fMemo->SetCharacterLimit(63);

fEnter = new BButton("enterbutton", B_TRANSLATE("Enter"), new BMessage(M_ENTER_TRANSACTION));
fEnter->SetExplicitMaxSize(BSize(B_SIZE_UNSET, B_SIZE_UNLIMITED));
Expand Down

0 comments on commit 75facee

Please sign in to comment.