Skip to content

Commit 2add0e4

Browse files
committed
[Bug 17159] header: Tweak firstItemLeft documentation
* Fix missing references * Add note that in some themes the left action's label is always visible
1 parent 4059b9b commit 2add0e4

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

extensions/widgets/header/header.lcb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,15 @@ Syntax: set the firstItemLeft of <widget> to { true | false }
235235
Syntax: get the firstItemLeft of <widget>
236236

237237
Description:
238-
If the <firstItemLeft> property is true, then the first action in the <itemArray> is displayed on
239-
the left hand side of the header bar.
238+
239+
If the <firstItemLeft> property is `true`, then the first action in the
240+
<itemArray> is displayed on the left hand side of the header bar.
241+
242+
**Note:** In some <theme|themes>, the first action always has its
243+
label displayed when <firstItemLeft> is `true`. If you don't want
244+
this to happen, you can set the action's label to the empty string.
245+
246+
References: itemArray (property), theme (property)
240247
**/
241248
property firstItemLeft get mFirstActionLeft set setFirstActionLeft
242249
metadata firstItemLeft.default is "true"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# [17159] Add note about firstItemLeft and label visibility

0 commit comments

Comments
 (0)