Forum Discussion
o0netquik0o
5 years agoSeasoned Rookie
Ok verifying the problem i saw that was not totally caused by overlay reposition up.. but when a scripts add a button in MenuBar causes misalign on X.. the bar is not centered. So considering alignX doesn'work to fix the problem. i fix adding this code.
so if a button (like SCAN of Mail Basescanner) is added a margin is added to the menu bar
this center the vie and also remove the problem.
For now the only scipt that adds a button is Mail Scanner..
This fix can be left also after we can revert to overlay native position if they fix that in next update.
// Fix a problem if new button is added in Menu Bar that cause misalign on center
this.MenuBar = qx.core.Init.getApplication().getMenuBar();
this.MenuBarButtons = this.MenuBar.getChildren().getChildren().length;
if(this.MenuBarButtons > 10 ) {
this.MenuBar.setMarginLeft(-(this.MenuBarButtons-10)*(50));
}
so if a button (like SCAN of Mail Basescanner) is added a margin is added to the menu bar
this center the vie and also remove the problem.
For now the only scipt that adds a button is Mail Scanner..
This fix can be left also after we can revert to overlay native position if they fix that in next update.
About Tiberium Alliances Technical Issues
Having problems running the game or a script? Get help with Command and Conquer: Tiberium Alliances with the community!
1,435 PostsLatest Activity: 11 hours agoRelated Posts
Recent Discussions
- 11 hours ago
- 2 days ago
- 5 days ago
Problems with LogOn
Solved6 days ago- 9 days ago