Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

margin / paddin in HTML style #52

Open
Acanis87 opened this issue Jul 25, 2024 · 2 comments
Open

margin / paddin in HTML style #52

Acanis87 opened this issue Jul 25, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Acanis87
Copy link

Acanis87 commented Jul 25, 2024

Hey,

thanks for tkhtmlview, its a simple option to create a small "Readme" in my program. Iam a Python beginner and Iam trying since 3 hours to reduce the space between my h1 / h2 and the following p / ul.
It seems, that you dont allow margins, paddings, br, &nbsp and so on and everything is controlled by spacing1/2/3.

Couldnt find documentation, but I used spacing3=3 to get a little bit more space between everything, so my list isnt so tightly and I used ".insert('end', '\n')" to have a empty line at the end of the widget.

But I couldnt find any way to reduce the spacing between titles and content. Is there any? Or could you consider adding it? (I just read, that you are recoding tkhtmlview)

Thanks! :)

@bauripalash
Copy link
Owner

Unfortunately, currently there's no way to reduce paddings or margins from html code.

As you already know, I have been rewriting the whole thing from scratch, the new version will have all these features, such as paddings margins, all modern html5 and css features.

So, for now you'll have to bear with the limitations. Apologies.

@bauripalash bauripalash added the enhancement New feature or request label Jul 25, 2024
@Acanis87
Copy link
Author

No need to apologize! I appreciate your work and Iam exited to see the upcoming version! :)
Sounds great, thanks! ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants