$ 0 0 Thanks JKSH I used Qt Quick Layouts and the QML Button. Actually the QML Button is much more easier tan creating my own button .