Free cookie consent management tool by TermsFeed Policy Generator

Changeset 7192


Ignore:
Timestamp:
12/15/11 16:39:25 (13 years ago)
Author:
ascheibe
Message:

#1672 some small job manager ui fixes

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.Views/3.3/HiveTasks/HiveTaskView.cs

    r7177 r7192  
    105105          this.priorityComboBox.SelectedIndex = 0;
    106106          this.coresNeededComboBox.Text = "1";
    107           this.memoryNeededComboBox.Text = "256";
     107          this.memoryNeededComboBox.Text = "128";
    108108        }
    109109      }
  • trunk/sources/HeuristicLab.Clients.Hive.Views/3.3/HiveTasks/HiveTaskView.designer.cs

    r7191 r7192  
    247247      this.memoryNeededComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    248248                  | System.Windows.Forms.AnchorStyles.Right)));
     249      this.memoryNeededComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
    249250      this.memoryNeededComboBox.FormattingEnabled = true;
    250251      this.memoryNeededComboBox.Items.AddRange(new object[] {
     
    263264      this.coresNeededComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    264265                  | System.Windows.Forms.AnchorStyles.Right)));
     266      this.coresNeededComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
    265267      this.coresNeededComboBox.FormattingEnabled = true;
    266268      this.coresNeededComboBox.Items.AddRange(new object[] {
     
    268270            "2",
    269271            "3",
    270             "4",
    271             "5",
    272             "6",
    273             "7",
    274             "8"});
     272            "4"});
    275273      this.coresNeededComboBox.Location = new System.Drawing.Point(134, 13);
    276274      this.coresNeededComboBox.Name = "coresNeededComboBox";
     
    292290      this.coresNeededLabel.Location = new System.Drawing.Point(6, 16);
    293291      this.coresNeededLabel.Name = "coresNeededLabel";
    294       this.coresNeededLabel.Size = new System.Drawing.Size(101, 13);
     292      this.coresNeededLabel.Size = new System.Drawing.Size(104, 13);
    295293      this.coresNeededLabel.TabIndex = 39;
    296       this.coresNeededLabel.Text = "Nr. of cores needed";
     294      this.coresNeededLabel.Text = "Nr. of needed cores:";
    297295      //
    298296      // computeInParallelLabel
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveJobs/HiveTask.cs

    r7191 r7192  
    7171          OnItemImageChanged();
    7272        }
    73 
    7473      }
    7574    }
     
    159158
    160159    public HiveTask() {
    161       this.Task = new Task() { CoresNeeded = 1, MemoryNeeded = 0 };
     160      this.Task = new Task() { CoresNeeded = 1, MemoryNeeded = 128 };
    162161      task.State = TaskState.Offline;
    163162      this.childHiveTasks = new ItemList<HiveTask>();
Note: See TracChangeset for help on using the changeset viewer.