slint icon indicating copy to clipboard operation
slint copied to clipboard

How to implement the inline-block attribute effect of css

Open CarbonPool opened this issue 6 months ago • 2 comments

For example, there is a set of custom Chekcbox components composed of Rectangle and Text components in HorizontalLayout. We hope that when the width of HorizontalLayout is exceeded, its child elements can automatically wrap instead of overflowing.

CarbonPool avatar Jan 26 '24 07:01 CarbonPool

I feel that we should reopen #66 - I think that’s a better understood model than general inline layout.

Could you elaborate what kind of UI you have in mind that would benefit from wrapping?

tronical avatar Jan 28 '24 08:01 tronical

I feel that we should reopen #66 - I think that’s a better understood model than general inline layout.

Could you elaborate what kind of UI you have in mind that would benefit from wrapping?

A combination of graphic and text interaction, text and graphics can adaptively wrap

CarbonPool avatar Jan 29 '24 13:01 CarbonPool