mirror of
https://github.com/fjvallarino/monomer.git
synced 2024-11-13 09:57:17 +03:00
Make Label height fixed
This commit is contained in:
parent
1f4b111247
commit
ea7d33a983
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user