mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 20:05:33 +00:00
- Ensures if there is a $pref::server::password set and you're creating a localConnection game, you can connect even if you don't have a client password set
- Changed ChooseLevelMenu layout to have a vertical list for levels with a static preview set, as well as a separate tab for server configs if trying to create a server - Added field to set password for connecting to passworded servers on the JoinServerMenu - Added sanity check so you can't try and activate a menuList that has no children(caused error spam)
This commit is contained in:
parent
150684a47d
commit
c809dbb4be
6 changed files with 446 additions and 98 deletions
|
|
@ -50,7 +50,7 @@ $guiContent = new GuiControl(JoinServerMenu) {
|
|||
new GuiTextEditCtrl(JoinServerPlayerNameTxt) {
|
||||
text = "Visitor";
|
||||
position = "606 7";
|
||||
extent = "295 18";
|
||||
extent = "295 22";
|
||||
horizSizing = "left";
|
||||
vertSizing = "center";
|
||||
profile = "MenuTextEditprofile";
|
||||
|
|
@ -59,7 +59,33 @@ $guiContent = new GuiControl(JoinServerMenu) {
|
|||
};
|
||||
};
|
||||
new GuiContainer() {
|
||||
position = "190 97";
|
||||
position = "190 87";
|
||||
extent = "900 30";
|
||||
horizSizing = "center";
|
||||
profile = "GuiDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
text = "Password";
|
||||
position = "0 5";
|
||||
extent = "78 23";
|
||||
vertSizing = "center";
|
||||
profile = "MenuMLSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextEditCtrl(JoinServerPasswordTxt) {
|
||||
text = "Visitor";
|
||||
position = "606 7";
|
||||
extent = "295 22";
|
||||
horizSizing = "left";
|
||||
vertSizing = "center";
|
||||
profile = "MenuTextEditprofile";
|
||||
variable = "$Client::Password";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
};
|
||||
new GuiContainer() {
|
||||
position = "190 121";
|
||||
extent = "900 30";
|
||||
horizSizing = "center";
|
||||
profile = "GuiMenuPanelProfile";
|
||||
|
|
@ -94,8 +120,8 @@ $guiContent = new GuiControl(JoinServerMenu) {
|
|||
new GuiScrollCtrl() {
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "dynamic";
|
||||
position = "190 127";
|
||||
extent = "900 551";
|
||||
position = "190 151";
|
||||
extent = "900 532";
|
||||
minExtent = "8 8";
|
||||
horizSizing = "center";
|
||||
vertSizing = "height";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue