ui: overlay window base size
* added property in application settings to define a basic width and height that is used when creating new overlay windows. * fixed crash in tests
This commit is contained in:
@@ -153,6 +153,16 @@ void ApplicationSettings::setIndexerThreadCount(const int count)
|
||||
setValue<int>("application/indexer_thread_count", count);
|
||||
}
|
||||
|
||||
int ApplicationSettings::getWindowBaseWidth() const
|
||||
{
|
||||
return getValue<int>("application/window_base_width", 500);
|
||||
}
|
||||
|
||||
int ApplicationSettings::getWindowBaseHeight() const
|
||||
{
|
||||
return getValue<int>("application/window_base_height", 500);
|
||||
}
|
||||
|
||||
int ApplicationSettings::getCodeTabWidth() const
|
||||
{
|
||||
return getValue<int>("code/tab_width", 4);
|
||||
|
||||
Reference in New Issue
Block a user