editor region list: allow name column to be resizable
This commit is contained in:
parent
b75be7f975
commit
39c6ea6813
@ -151,6 +151,8 @@ RegionListBase::add_name_column ()
|
|||||||
TreeViewColumn* tvc = append_col (_columns.name, 120);
|
TreeViewColumn* tvc = append_col (_columns.name, 120);
|
||||||
setup_col (tvc, 0, ALIGN_START, _("Name"), ("Region name"));
|
setup_col (tvc, 0, ALIGN_START, _("Name"), ("Region name"));
|
||||||
|
|
||||||
|
tvc->set_resizable (true);
|
||||||
|
|
||||||
/* Region Name: make editable */
|
/* Region Name: make editable */
|
||||||
CellRendererText* region_name_cell = dynamic_cast<CellRendererText*> (tvc->get_first_cell ());
|
CellRendererText* region_name_cell = dynamic_cast<CellRendererText*> (tvc->get_first_cell ());
|
||||||
region_name_cell->property_editable () = true;
|
region_name_cell->property_editable () = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user