gwt-material icon indicating copy to clipboard operation
gwt-material copied to clipboard

MaterialTreeItem wrapping

Open sandworm88 opened this issue 4 years ago • 8 comments

I need to place quite long strings to MaterlalTableItems but on narrow devices like smartphones it causes the horizontal scrolling, not line wrapping. Please make the wrapping available at least as option.

sandworm88 avatar May 02 '20 16:05 sandworm88

Can you elaborate or show us the screen shot what you are expecting so that I can do the new requested feature for the TreeItem. I saw you are talking two things in your title it's MaterialTreeItem and in your description it's MaterialTableItems which one is correct?

kevzlou7979 avatar May 07 '20 12:05 kevzlou7979

Thanks for reply. Please look to line with 'cashboxes'. It's quite long and I think it should be wrapped to several lines. But now the tree widget scrolls horizontally. I'd tried to set custom css in xml:

ui:style .tree-item .tree-header { white-space: normal; } </ui:style>

No effect.

чт, 7 мая 2020 г., 15:54 Mark Kevin Baldemor [email protected]:

Can you elaborate or show us the screen shot what you are expecting so that I can do the new requested feature for the TreeItem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GwtMaterialDesign/gwt-material/issues/958#issuecomment-625237496, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMITE2WED75TT57E5NLXFETRQKVRXANCNFSM4MXYDXQA .

-- WBR Eugene V Budnikov

sandworm88 avatar May 07 '20 13:05 sandworm88

Sorry, screenshots was not attached in previous mail.

чт, 7 мая 2020 г., 16:29 Eugene V Budnikov [email protected]:

Thanks for reply. Please look to line with 'cashboxes'. It's quite long and I think it should be wrapped to several lines. But now the tree widget scrolls horizontally. I'd tried to set custom css in xml:

ui:style .tree-item .tree-header { white-space: normal; } </ui:style>

No effect.

чт, 7 мая 2020 г., 15:54 Mark Kevin Baldemor [email protected]:

Can you elaborate or show us the screen shot what you are expecting so that I can do the new requested feature for the TreeItem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GwtMaterialDesign/gwt-material/issues/958#issuecomment-625237496, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMITE2WED75TT57E5NLXFETRQKVRXANCNFSM4MXYDXQA .

-- WBR Eugene V Budnikov

sandworm88 avatar May 07 '20 13:05 sandworm88

Sorry can't see the image.

kevzlou7979 avatar May 07 '20 13:05 kevzlou7979

Screenshot_20200507-162115 Screenshot_20200507-162107

sandworm88 avatar May 07 '20 13:05 sandworm88

Oh i see what you mean, so you want to push the overflowed text to the second line. Well will add this to the next version of Tree Item, probably on 2.3.1

kevzlou7979 avatar May 07 '20 13:05 kevzlou7979

Thanks! But maybe some workaround available now?

sandworm88 avatar May 07 '20 16:05 sandworm88

I will take a look if some style will override the default behaviors.

kevzlou7979 avatar May 07 '20 22:05 kevzlou7979