wuanzhuan

Results 10 comments of wuanzhuan

Can reference my project:https://github.com/wuanzhuan/system_monitor. view the src/ui/events_view.slint and src\event_list.rs. the list synchronously support push_back, remove and read cursor. when has 300k+ items it is fluent to sliding the table_view ![image](https://github.com/slint-ui/slint/assets/11628049/40c83353-b151-4372-b6d4-f8d5465e48fb)

> > Can reference my project:https://github.com/wuanzhuan/system_monitor. view the src/ui/events_view.slint and src\event_list.rs. the list synchronously support push_back, remove and read cursor. when has 300k+ items it is fluent to sliding the...

I do a test. Only the visible row will call Model 's row_data. So you can load the row's resource when calling the row_data

> > I do a test. Only the visible row will call Model 's row_data. So you can load the row's resource when calling the row_data > > But then...

> > > > I do a test. Only the visible row will call Model 's row_data. So you can load the row's resource when calling the row_data > >...

> Which version of `chumsky` are you using? the master branch chumsky = { git = "https://github.com/zesterer/chumsky.git" }

it is right when i remove the scrollview ![image](https://github.com/slint-ui/slint/assets/11628049/76c5174e-f18c-405f-b190-2438bf258fab) ``` popup := PopupWindow { x: 12px; y: parent.height + 12px; Rectangle { background: Palette.background; border-color: Palette.border; border-width: 1phx; preferred-width: text-element.preferred-width...

when i set x,y of the scrollview, it is right. i think this is a bug. ``` ScrollView { x: 0; y: 0; width: rect.preferred-width; height: rect.preferred-height; rect := Rectangle...

@ogoffart the problem is caused by scrollview's backgroud and xy ![image](https://github.com/slint-ui/slint/assets/11628049/3ad6e411-84b6-4f47-9f2f-163f198af9a4) the problem code is: ``` popup := PopupWindow { y: root.height + 1rem; Rectangle { background: Palette.background; border-color: Palette.border;...

@ogoffart sorry i haven't used the slintpad. the full code as follows: ``` import { AboutSlint, Button, VerticalBox, Palette, ScrollView } from "std-widgets.slint"; export component Demo { width: 200px; height:...