fix typos
This commit is contained in:
parent
70c3b059a5
commit
f7e2d29fc0
2 changed files with 3 additions and 5 deletions
|
|
@ -90,7 +90,7 @@ to control the child item's actual size and position.
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> Quickshell has a builtin component @@Quickshell.Widgets.WrapperItem
|
> Quickshell has a built-in component @@Quickshell.Widgets.WrapperItem
|
||||||
> that adds margins similar to the behavior above.
|
> that adds margins similar to the behavior above.
|
||||||
|
|
||||||
### Reducing boilerplate with Anchors
|
### Reducing boilerplate with Anchors
|
||||||
|
|
@ -234,4 +234,4 @@ In addition, Row and Column do not pixel-align members, meaning if you have a me
|
||||||
with a fractional size, it will break the pixel alignment of members following it.
|
with a fractional size, it will break the pixel alignment of members following it.
|
||||||
|
|
||||||
In general, RowLayout and ColumnLayout should be used over Row and Column outside
|
In general, RowLayout and ColumnLayout should be used over Row and Column outside
|
||||||
of cases where pixel alignment is intentially broken.
|
of cases where pixel alignment is intentionally broken.
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
title: "QML Language"
|
title: "QML Language"
|
||||||
index: 10
|
index: 10
|
||||||
---
|
---
|
||||||
import Collapsible from "@components/Collapsible.astro";
|
|
||||||
|
|
||||||
Quickshell is configured using the Qt Modeling Language, or QML.
|
Quickshell is configured using the Qt Modeling Language, or QML.
|
||||||
This page explains what you need to know about QML to start using Quickshell.
|
This page explains what you need to know about QML to start using Quickshell.
|
||||||
|
|
||||||
|
|
@ -125,7 +123,7 @@ import qs.<path> [as <Namespace>]
|
||||||
- `path` is the path to the directory to import, relative to the folder `shell.qml` is in.
|
- `path` is the path to the directory to import, relative to the folder `shell.qml` is in.
|
||||||
`qs` can be used to import the shell root folder. Dotted paths can be used to access nested
|
`qs` can be used to import the shell root folder. Dotted paths can be used to access nested
|
||||||
subfolders, e.g. `qs.foo.bar`.
|
subfolders, e.g. `qs.foo.bar`.
|
||||||
- `Namepsace` is an optional namespace to import types from the module under.
|
- `Namespace` is an optional namespace to import types from the module under.
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> Quickshell module imports are preferable to relative path imports as they are much more LSP friendly.
|
> Quickshell module imports are preferable to relative path imports as they are much more LSP friendly.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue