Searched refs:strWidth (Results 1 – 3 of 3) sorted by relevance
265 const strWidth = mixin.stringWidth(str);266 if (strWidth < width) {267 return ' '.repeat(width - strWidth) + str;273 const strWidth = mixin.stringWidth(str);275 if (strWidth >= width) {278 return ' '.repeat((width - strWidth) >> 1) + str;
157 $len = $this->strWidth($data[$row][$col]);241 public function strWidth($str) function in action_plugin_edittable_editor258 return $this->strWidth($str);
266 const strWidth = mixin.stringWidth(str);267 if (strWidth < width) {268 return ' '.repeat(width - strWidth) + str;274 const strWidth = mixin.stringWidth(str);276 if (strWidth >= width) {279 return ' '.repeat((width - strWidth) >> 1) + str;