equal
deleted
inserted
replaced
201 { |
201 { |
202 NM_FUNCTION; |
202 NM_FUNCTION; |
203 |
203 |
204 // get the layout's vertical spacing |
204 // get the layout's vertical spacing |
205 qreal spacing = 0; |
205 qreal spacing = 0; |
206 HbStyle().parameter("hb-param-margin-gene-middle-vertical", spacing); |
206 HbInstance::instance()->style()->parameter("hb-param-margin-gene-middle-vertical", spacing); |
207 |
207 |
208 // calculate the height |
208 // calculate the height |
209 qreal height = 0; |
209 qreal height = 0; |
210 |
210 |
211 height += mToField->height(); // returns widget's geometry height |
211 height += mToField->height(); // returns widget's geometry height |