i forgot to commit

This commit is contained in:
Adam D. Ruppe 2021-11-29 16:41:45 -05:00
parent 495e664ba3
commit 3751953018
1 changed files with 3 additions and 1 deletions

View File

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