some more sensible gui default sizes

This commit is contained in:
Garux
2019-01-11 18:35:37 +03:00
parent d19b3c9a28
commit fb53d5094a
5 changed files with 9 additions and 10 deletions

View File

@@ -83,6 +83,7 @@ EntityList() :
m_selection_disabled( false ),
m_search_from_start( false ),
m_search_focus_node( 0 ){
m_positionTracker.setPosition( WindowPosition( -1, -1, 350, 500 ) );
}
bool visible() const {
@@ -562,8 +563,6 @@ void EntityList_Construct(){
g_EntityList = new EntityList;
getEntityList().m_positionTracker.setPosition( c_default_window_pos );
GlobalPreferenceSystem().registerPreference( "EntityInfoDlg", WindowPositionTrackerImportStringCaller( getEntityList().m_positionTracker ), WindowPositionTrackerExportStringCaller( getEntityList().m_positionTracker ) );
GlobalPreferenceSystem().registerPreference( "EntListSearchFromStart", BoolImportStringCaller( getEntityList().m_search_from_start ), BoolExportStringCaller( getEntityList().m_search_from_start ) );