MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / setStyle

Method setStyle

src/columns/ColStatus.cpp:46–50  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// Overriden so that style <----> label are linked. Note that you can not determine which gets called first.

Source from the content-addressed store, hash-verified

44// Overriden so that style <----> label are linked.
45// Note that you can not determine which gets called first.
46void ColumnStatus::setStyle(const std::string& value) {
47 Column::setStyle(value);
48
49 if (_style == "short" && _label == "Status") _label = "St";
50}
51
52////////////////////////////////////////////////////////////////////////////////
53// Set the minimum and maximum widths for the value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected