Qt dimension
-
Depends whether you talk about QtWidgets or QtQuick UIs. In general - it's pixels. In widgets, when you use layouts, the layout system will calculate everything for you automatically, there is no need to set dimensions explicitly.
-
Then it should be done for you automatically :) If the text in text widgets doesn't wrap around, set the "wordWrap" property to true.