File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -501,10 +501,10 @@ def update_stats_model(self):
501501 results = slot .results
502502 if results is not None and results .success :
503503 train = QStandardItem ("{:.3f}" .format (results .value .train_time ))
504- train .setTextAlignment (Qt .AlignRight )
504+ train .setTextAlignment (Qt .AlignRight | Qt . AlignVCenter )
505505 train .setData (key , Qt .UserRole )
506506 test = QStandardItem ("{:.3f}" .format (results .value .test_time ))
507- test .setTextAlignment (Qt .AlignRight )
507+ test .setTextAlignment (Qt .AlignRight | Qt . AlignVCenter )
508508 test .setData (key , Qt .UserRole )
509509 row = [head , train , test ]
510510 else :
@@ -541,7 +541,7 @@ def update_stats_model(self):
541541 if stats is not None :
542542 for stat , scorer in zip (stats , self .scorers ):
543543 item = QStandardItem ()
544- item .setTextAlignment (Qt .AlignRight )
544+ item .setTextAlignment (Qt .AlignRight | Qt . AlignVCenter )
545545 if stat .success :
546546 item .setData (float (stat .value [0 ]), Qt .DisplayRole )
547547 else :
You can’t perform that action at this time.
0 commit comments