[fx] gc panel: fix text truncation due to the new underlining method