set board controls DAC values field to default size
@@ -452,9 +452,9 @@ void pnlBoardControls::SetupControls(const std::string &boardID)
txtDACTitle = new wxStaticText(pnlReadControls, wxID_ANY, _("VCTCXO DAC (permanent)"));
sizerAnalogRd->Add(txtDACTitle, 1, wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL, 5);
sizerDAC = new wxFlexGridSizer(0, 2, 0, 0);
- txtDACValue = new wxTextCtrl(pnlReadControls, wxNewId(), _("128"), wxDefaultPosition, wxSize(75, -1));
+ txtDACValue = new wxTextCtrl(pnlReadControls, wxNewId(), _("128"), wxDefaultPosition, wxDefaultSize);
sizerDAC->Add(txtDACValue, 1, wxALIGN_CENTER_VERTICAL, 5);
- btnDAC = new wxButton(pnlReadControls, wxNewId(), _("Write"), wxDefaultPosition, wxSize(75, -1));
+ btnDAC = new wxButton(pnlReadControls, wxNewId(), _("Write"), wxDefaultPosition, wxDefaultSize);
sizerDAC->Add(btnDAC, 1, wxALIGN_CENTER_VERTICAL, 0);
Connect(btnDAC->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(pnlBoardControls::OnDACWrite), NULL, this);
sizerAnalogRd->Add(sizerDAC, 1, wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL, 5);
