How to make ServerItem to grow to fit contents? Right now ServerItems just overlap each other.
main.qml
import Qt 4.7
import \"Teeworlds\" as Teeworl
Actually that's quite easy. The ServerItem objects have no size, you can only see the content because there is no clipping. The solution would be either to set height and width in the ServerItem class (or the instances in main.qml) or to use a growing element, e.g. a Column, as the ServerItem root element.
import QtQuick 1.0
Column {
id: serverItem
BorderImage {
anchors.fill: parent
}
//... the rest
}