ScottyLabs / tartanhacks_dashboard_v2

3 stars 7 forks source link

created editing features, more form fields #6

Closed tlee0818 closed 2 years ago

tlee0818 commented 2 years ago

Created editing features. The solid button requires an image; can't put a text. should I just do a text button?

jhong66 commented 2 years ago

The SolidButton in custom widgets should accept strings in the "text" named parameter and it has styling + overflow handling built in. I think you were using the SolidSquareButton, which was specially made to hold a qr code. You can also put icons in it using the "child" parameter instead of "text".

tlee0818 commented 2 years ago

i used the solidbutton and pushed. should be good now.

The SolidButton in custom widgets should accept strings in the "text" named parameter and it has styling + overflow handling built in. I think you were using the SolidSquareButton, which was specially made to hold a qr code. You can also put icons in it using the "child" parameter instead of "text".

i used the solidbutton and pushed. should be good now.