From 3751953018bed2fb71c65797a5cf7fed3fe4fd69 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 29 Nov 2021 16:41:45 -0500 Subject: [PATCH] i forgot to commit --- minigui.d | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/minigui.d b/minigui.d index 58681d3..0f1f000 100644 --- a/minigui.d +++ b/minigui.d @@ -7884,7 +7884,7 @@ class TableView : Widget { if(getCellStyle is null) // this SHOULD never happen... return 0; - auto style = getCellStyle(s.nmcd.dwItemSpec, s.iSubItem); + auto style = getCellStyle(cast(int) s.nmcd.dwItemSpec, cast(int) s.iSubItem); if(style == CellStyle.init) return 0; // allow default processing to continue @@ -10200,6 +10200,8 @@ class CommandButton : Button { super(label, parent); } + // FIXME: I think I can simply make this 0 stretchiness instead of max now that the flex basis is there + override int maxHeight() { return defaultLineHeight + 4; }