Compare commits
2 Commits
5ea480afcb
...
fde1b5ff3a
Author | SHA1 | Date |
---|---|---|
|
fde1b5ff3a | |
|
53ba535abc |
|
@ -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(d.window.height>pos.y+control.height+container.height){
|
if(window.height>pos.y+control.height+container.implicitHeight){
|
||||||
control_popup.y = control.height
|
control_popup.y = control.height
|
||||||
} else if(pos.y>container.height){
|
} else if(pos.y>container.implicitHeight){
|
||||||
control_popup.y = -container.height
|
control_popup.y = -container.implicitHeight
|
||||||
} else {
|
} else {
|
||||||
popup.y = d.window.height-(pos.y+container.height)
|
control_popup.y = window.height-(pos.y+container.implicitHeight)
|
||||||
}
|
}
|
||||||
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.height){
|
if(window.height>pos.y+control.height+container.implicitHeight){
|
||||||
control_popup.y = control.height
|
control_popup.y = control.height
|
||||||
} else if(pos.y>container.height){
|
} else if(pos.y>container.implicitHeight){
|
||||||
control_popup.y = -container.height
|
control_popup.y = -container.implicitHeight
|
||||||
} else {
|
} else {
|
||||||
popup.y = window.height-(pos.y+container.height)
|
control_popup.y = window.height-(pos.y+container.implicitHeight)
|
||||||
}
|
}
|
||||||
control_popup.visible = true
|
control_popup.visible = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue