mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 07:03:46 +08:00
update
This commit is contained in:
parent
4ec772fff2
commit
cb5b9d8541
@ -196,9 +196,6 @@ Rectangle {
|
||||
}
|
||||
ScrollBar.vertical: FluScrollBar{
|
||||
id:scroll_bar_v
|
||||
onVisualPositionChanged: {
|
||||
table_view.forceLayout()
|
||||
}
|
||||
}
|
||||
columnWidthProvider: function(column) {
|
||||
var w = columnSource[column].width
|
||||
@ -533,6 +530,16 @@ Rectangle {
|
||||
return []
|
||||
}
|
||||
}
|
||||
onContentYChanged:{
|
||||
timer_force_layout.restart()
|
||||
}
|
||||
Timer{
|
||||
interval: 50
|
||||
id:timer_force_layout
|
||||
onTriggered: {
|
||||
header_vertical.forceLayout()
|
||||
}
|
||||
}
|
||||
delegate: Rectangle{
|
||||
id:item_control
|
||||
readonly property real cellPadding: 8
|
||||
|
@ -197,9 +197,6 @@ Rectangle {
|
||||
}
|
||||
ScrollBar.vertical: FluScrollBar{
|
||||
id:scroll_bar_v
|
||||
onVisualPositionChanged: {
|
||||
table_view.forceLayout()
|
||||
}
|
||||
}
|
||||
columnWidthProvider: function(column) {
|
||||
var w = columnSource[column].width
|
||||
@ -534,6 +531,16 @@ Rectangle {
|
||||
return []
|
||||
}
|
||||
}
|
||||
onContentYChanged:{
|
||||
timer_force_layout.restart()
|
||||
}
|
||||
Timer{
|
||||
interval: 50
|
||||
id:timer_force_layout
|
||||
onTriggered: {
|
||||
header_vertical.forceLayout()
|
||||
}
|
||||
}
|
||||
delegate: Rectangle{
|
||||
id:item_control
|
||||
readonly property real cellPadding: 8
|
||||
|
Loading…
Reference in New Issue
Block a user