Text widget extension