Skip to content

Commit

Permalink
Fix size of byte colour preview.
Browse files Browse the repository at this point in the history
  • Loading branch information
solemnwarning committed Jul 17, 2024
1 parent ecd283c commit 112a1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SettingsDialogByteColour.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ bool REHex::SettingsDialogByteColour::Create(wxWindow *parent)
dummy_doc_ctrl = new DocumentCtrl(this, dummy_doc, (DCTRL_LOCK_SCROLL | DCTRL_HIDE_CURSOR));
ddc_sizer->Add(dummy_doc_ctrl, 0, (wxRIGHT | wxBOTTOM | wxLEFT), SettingsDialog::MARGIN);

dummy_doc_ctrl->SetMinSize(
dummy_doc_ctrl->SetMinClientSize(
wxSize(dummy_doc_ctrl->hf_string_width(16 * 4), (dummy_doc_ctrl->hf_char_height() * 16)));

class Foo: public REHex::DocumentCtrl::DataRegion
Expand Down

0 comments on commit 112a1b3

Please sign in to comment.