SimonBiggs / scriptedforms

Quickly create live-update GUIs for Python packages using Markdown and simple HTML elements.
Apache License 2.0
508 stars 34 forks source link

More formatting options #234

Open olivercrask opened 6 years ago

olivercrask commented 6 years ago

I've tried adding 'float-left' class to buttons, but the child element seems to get a 'float-right' class automatically, so doesn't inherit the new class.

Would it be possible to allow this to be defined in the button HTML?

In addition ability to edit colours would be nice to have

SimonBiggs commented 6 years ago

Yup. Making the styling more editable would be preferable. I have put an "inline" flag button on there which will remove the float right.

On Wed., 11 Apr. 2018, 6:13 pm Oli Crask, notifications@github.com wrote:

I've tried adding 'float-left' class to buttons, but the child element seems to get a 'float-right' class automatically, so doesn't inherit the new class.

Would it be possible to allow this to be defined in the button HTML?

In addition ability to edit colours would be nice to have

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SimonBiggs/scriptedforms/issues/234, or mute the thread https://github.com/notifications/unsubscribe-auth/AGQVe_953TDjG1sZKuqlOyT-i2mAgqUFks5tnbsygaJpZM4TPkAy .

SimonBiggs commented 6 years ago

Would you be able to see if 0.9.2dev2 and its more powerful <style> tags achieve this?