|
@@ -207,7 +207,7 @@ private:
|
|
|
this->tiny_step_height = this->column_size[VGC_FOLD].height;
|
|
|
|
|
|
this->column_size[VGC_NAME] = maxdim(GetStringBoundingBox(STR_GROUP_DEFAULT_TRAINS + this->vli.vtype), GetStringBoundingBox(STR_GROUP_ALL_TRAINS + this->vli.vtype));
|
|
|
this->column_size[VGC_NAME].width = std::max(170u, this->column_size[VGC_NAME].width);
|
|
|
this->column_size[VGC_NAME].width = std::max(450u, this->column_size[VGC_NAME].width);
|
|
|
this->tiny_step_height = std::max(this->tiny_step_height, this->column_size[VGC_NAME].height);
|
|
|
|
|
|
this->column_size[VGC_PROTECT] = GetSpriteSize(SPR_GROUP_REPLACE_PROTECT);
|
|
@@ -1084,14 +1084,14 @@ public:
|
|
|
|
|
|
|
|
|
static WindowDesc _other_group_desc(
|
|
|
WDP_AUTO, "list_groups", 460, 246,
|
|
|
WDP_AUTO, "list_groups", 940, 246,
|
|
|
WC_INVALID, WC_NONE,
|
|
|
0,
|
|
|
_nested_group_widgets, lengthof(_nested_group_widgets)
|
|
|
);
|
|
|
|
|
|
static WindowDesc _train_group_desc(
|
|
|
WDP_AUTO, "list_groups_train", 525, 246,
|
|
|
WDP_AUTO, "list_groups_train", 1005, 246,
|
|
|
WC_TRAINS_LIST, WC_NONE,
|
|
|
0,
|
|
|
_nested_group_widgets, lengthof(_nested_group_widgets)
|