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; }