added settings for main widget
This commit is contained in:
@ -69,10 +69,10 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MC_BEGINMAP, $this, 'updateWidget'); //TODO not working yet
|
||||
|
||||
//settings
|
||||
$this->width = 150;
|
||||
$this->height = 80;
|
||||
$this->quadStyle = Quad_BgRaceScore2::STYLE; //TODO add default menu style to style manager
|
||||
$this->quadSubstyle = Quad_BgRaceScore2::SUBSTYLE_HandleSelectable;
|
||||
$this->width = $this->maniaControl->manialinkManager->styleManager->getListWidgetsWidth();
|
||||
$this->height = $this->maniaControl->manialinkManager->styleManager->getListWidgetsHeight();
|
||||
$this->quadStyle = $this->maniaControl->manialinkManager->styleManager->getDefaultMainWindowStyle();
|
||||
$this->quadSubstyle = $this->maniaControl->manialinkManager->styleManager->getDefaultMainWindowSubStyle();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user