Compare commits
No commits in common. "fde1b5ff3afd4dcc8a4cf1dbdb6fb39d7b23a633" and "5ea480afcb03961055582179939e23b587c565bb" have entirely different histories.
fde1b5ff3a
...
5ea480afcb
|
@ -99,12 +99,12 @@ FluTextBox{
|
||||||
loadData()
|
loadData()
|
||||||
if(d.flagVisible){
|
if(d.flagVisible){
|
||||||
var pos = control.mapToItem(null, 0, 0)
|
var pos = control.mapToItem(null, 0, 0)
|
||||||
if(window.height>pos.y+control.height+container.implicitHeight){
|
if(d.window.height>pos.y+control.height+container.height){
|
||||||
control_popup.y = control.height
|
control_popup.y = control.height
|
||||||
} else if(pos.y>container.implicitHeight){
|
} else if(pos.y>container.height){
|
||||||
control_popup.y = -container.implicitHeight
|
control_popup.y = -container.height
|
||||||
} else {
|
} else {
|
||||||
control_popup.y = window.height-(pos.y+container.implicitHeight)
|
popup.y = d.window.height-(pos.y+container.height)
|
||||||
}
|
}
|
||||||
control_popup.visible = true
|
control_popup.visible = true
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,12 +98,12 @@ FluTextBox{
|
||||||
loadData()
|
loadData()
|
||||||
if(d.flagVisible){
|
if(d.flagVisible){
|
||||||
var pos = control.mapToItem(null, 0, 0)
|
var pos = control.mapToItem(null, 0, 0)
|
||||||
if(window.height>pos.y+control.height+container.implicitHeight){
|
if(window.height>pos.y+control.height+container.height){
|
||||||
control_popup.y = control.height
|
control_popup.y = control.height
|
||||||
} else if(pos.y>container.implicitHeight){
|
} else if(pos.y>container.height){
|
||||||
control_popup.y = -container.implicitHeight
|
control_popup.y = -container.height
|
||||||
} else {
|
} else {
|
||||||
control_popup.y = window.height-(pos.y+container.implicitHeight)
|
popup.y = window.height-(pos.y+container.height)
|
||||||
}
|
}
|
||||||
control_popup.visible = true
|
control_popup.visible = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue