Closed mohd-akram closed 5 years ago
It is an assertion failure. Label widget should be created to have properties like font:
#include <boost/ui.hpp>
namespace ui = boost::ui;
int ui_main()
{
ui::dialog dlg("Title");
ui::label label(dlg);
ui::info_dialog(label.font().name());
return 0;
}
int main(int argc, char* argv[])
{
return ui::entry(&ui_main, argc, argv);
}
Thank you for the quick reply, and for this library!
This program causes a crash on macOS High Sierra:
Error: