PDA

View Full Version : Desktop vs Mobile



Zingam
24th June 2011, 11:08
I have a problem with QML. I've created a button (just two circles with gradients) and I've put text inside them. When compiled to a desktop application everything is fine but on the simulator the text does not scale with the circles and get's out of their boundaries.

Could you please hint me what I'm doing wrong?


Also is it possible to have "mouse hover" behavior in QML?

aya_lawliet
27th June 2011, 11:10
for the mouse hover, i think you can use containsMouse(), it returns true if the mouse is currently inside the mouse area. :)

I'm not so sure about your first problem though.. :(