To return parent defined dimensions properly, return preferredSize.width instead of text width, as this is block component so it should act like block and not return custom sizes. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
To return parent defined dimensions properly, return preferredSize.width instead of text width, as this is block component so it should act like block and not return custom sizes. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>