mirror of https://github.com/adamdruppe/arsd.git
i forgot to commit
This commit is contained in:
parent
495e664ba3
commit
3751953018
|
@ -7884,7 +7884,7 @@ class TableView : Widget {
|
||||||
if(getCellStyle is null) // this SHOULD never happen...
|
if(getCellStyle is null) // this SHOULD never happen...
|
||||||
return 0;
|
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)
|
if(style == CellStyle.init)
|
||||||
return 0; // allow default processing to continue
|
return 0; // allow default processing to continue
|
||||||
|
|
||||||
|
@ -10200,6 +10200,8 @@ class CommandButton : Button {
|
||||||
super(label, parent);
|
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() {
|
override int maxHeight() {
|
||||||
return defaultLineHeight + 4;
|
return defaultLineHeight + 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue