[High-dpi issues] Fix color kcm list when using big fonts
Review Request #108433 - Created Jan. 16, 2013 and discarded
|Kai Uwe Broulik|
This makes the row height of color list depend on the height of the "Varies" button. The KColorButtons on the other pages also need fixing but this should be done in KColorButton in kdelibs rather than hacking in the "Varies" thing there as well. (Not sure if I need to delete that PushButton afterwards)
Yup, see screenshots.
|w/o having checked code it seems the view has a static row height and the last kid would by this ...||Thomas Lübking|
w/o having checked code it seems the view has a static row height and the last kid would by this set the game. i'd say minHeight should be determined as qMax(minHeight, btn->sizeHint().height()) and initialized by the font height (given the font is equal for all elements, otherwise needs to be qMax'd in every row as well) ultimately in a second pass set all row heights, while probably even setting one would be sufficient