mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
compiler: Ignore leading whitespace when parsing
... and update all out test cases accordingly.
This commit is contained in:
parent
1fbbdf83b2
commit
bbdd6aeab7
49 changed files with 187 additions and 185 deletions
|
@ -7,12 +7,12 @@ export Test2 := Rectangle {
|
|||
TabWidget {
|
||||
Tab {
|
||||
visible: false;
|
||||
// ^error{The property 'visible' cannot be set for Tabs inside a TabWidget}
|
||||
// ^error{The property 'visible' cannot be set for Tabs inside a TabWidget}
|
||||
Rectangle { }
|
||||
}
|
||||
f := Tab {
|
||||
height: 50%;
|
||||
// ^error{The property 'height' cannot be set for Tabs inside a TabWidget}
|
||||
// ^error{The property 'height' cannot be set for Tabs inside a TabWidget}
|
||||
}
|
||||
Tab {
|
||||
Rectangle { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue