瀏覽代碼

Merge pull request #46295 from Calinou/doc-spinbox-theming

Document theming a SpinBox's background
Rémi Verschelde 4 年之前
父節點
當前提交
fd5d1ed442
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      doc/classes/SpinBox.xml

+ 1 - 0
doc/classes/SpinBox.xml

@@ -15,6 +15,7 @@
 		[/codeblock]
 		The above code will create a [SpinBox], disable context menu on it and set the text alignment to right.
 		See [Range] class for more options over the [SpinBox].
+		[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a [SpinBox]'s background, add theme items for [LineEdit] and customize them.
 	</description>
 	<tutorials>
 	</tutorials>