Make Label height fixed

This commit is contained in:
Francisco Vallarino 2020-10-11 03:12:49 -03:00
parent 1f4b111247
commit ea7d33a983

View File

@ -72,7 +72,7 @@ makeLabel config state = widget where
style = instanceStyle wenv widgetInst
Size w h = getStyledTextSize wenv style caption
factor = 1
sizeReq = (FlexSize w factor, FlexSize h factor)
sizeReq = (FlexSize w factor, FixedSize h)
resize wenv viewport renderArea widgetInst = newInst where
style = instanceStyle wenv widgetInst