PDA

View Full Version : Howto get the contents of ui.label.geometry.x ?



Ceresh
6th September 2015, 14:06
Hello i wanted to know how can i get the values of the geometry of a label and store it into variables.
I tried thing like :


int x
;x = ui.label.geometry.x;


But however i try to put it into the X var it wouldnt work can u guys help me out here?

-- Ceresh

anda_skoa
6th September 2015, 15:40
int x = ui->label->geometry().x();


Cheers,
_