Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Text 要素のテキスト プロパティとして "Subject:" + "/n" + vak + "/n" + klas を入力すると、すべてが "/n" を含む直線で返されます。
新しい行を作成するにはどうすればよいですか?
qtやqmlはわかりませんが、ほとんどの言語ではエスケープ文字は通常のスラッシュではなくバックスラッシュなので、エスケープシーケンスは\n改行用になります
\n
テキストを「Hello \n World」と入力すると機能します