add support for setting an explicit min size for libui controls. for now only supported by uiArea.

This commit is contained in:
StapleButter
2017-10-02 01:58:09 +02:00
parent ce592a1d80
commit 09920126dd
4 changed files with 21 additions and 3 deletions

View File

@ -592,6 +592,7 @@ int main(int argc, char** argv)
MainDrawArea = uiNewArea(&areahandler);
uiWindowSetChild(MainWindow, uiControl(MainDrawArea));
uiControlSetMinSize(uiControl(MainDrawArea), 256, 384);
EmuRunning = 2;
RunningSomething = false;