Skip to content

Commit 391af98

Browse files
committed
Update readme
1 parent 5aed7b3 commit 391af98

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ As a real example of using this framework, see [TabShell](https://github.com/tec
5050
* [MVVMX Component Structure](#templates-mvvmx-structure)
5151
* [MVVMX Component Lifecycle](#templates-mvvmx-lifecycle)
5252
* [MVVMX Component Example](#templates-mvvmx-example)
53+
* [Limitations](#limitations)
5354
* [Requirements](#requirements)
5455
* [Dependencies](#dependencies)
5556
* [Code building](#code-building)
@@ -996,6 +997,12 @@ component.initialize();
996997
... // use the component
997998
component.deinitialize();
998999
```
1000+
## Limitations <a name="limitations"></a>
1001+
1002+
* JavaFX uses strict CSS selectors for `ToolBar` such as `.tool-bar > .container > .button` that only apply styles to
1003+
direct children of the toolbar's internal container. When toolbar items are wrapped in another container (HBox, VBox,
1004+
etc.), default control styles no longer apply. Therefore, when working with `ToolBar`, it is recommended to create a
1005+
single dedicated component without nested components to avoid duplicating styles for toolbar items.
9991006

10001007
## Requirements <a name="requirements"></a>
10011008

0 commit comments

Comments
 (0)