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
Replaced Gtk::Alignment
spaces with CSS margins
#2195
Conversation
I've removed alignment.h from 2 states ! Kindly tell me if this is the correct way. Thanks :) |
They're correct. Instead of defining GAP & INDENTATION in multiple files, this can also be done in CSS too: #gap {
margin-end: 3px
} And calling |
@Keyikedalube After referring to the documentation, and after trying what I did ?I just initialised provider , screen and then imported css file and stored it in Thanks :) |
@DhairyaBahl Synfig already loaded its CSS file at startup. You can find the source at You only need to add the CSS code statement in the existing CSS file and call the CSS id from widget that needs spacing. |
This spacing is between "Name:" label and text box. Since they are already packed into a But to make this spacing consistent for all tools ( |
Understood ! BTW i was creating new css file ! but console was showing errors that are given above . is it not possible to create multiple css files ? if it is possible then kindly tell me what mistake I was doing with that file ?
Understood [^_^] . Thank You ! |
@Keyikedalube I've made the required changes in the files but still I am unable to see those changes in the app ! There is no spacing now ! trying to find out what went wrong ! And secondly we are doing Thank You :) |
This is a right question. It don't.
after replacing it with Also I noticed where is no CSS |
@DhairyaBahl In CSS code it's Simple, change it to |
It's possible but you're trying to add/override another "global" CSS provider which was already done in main Synfig initialization. |
Okayy @Keyikedalube understood [^_^] . @Keyikedalube @rodolforg @ice0 Thanks and regards ! |
@DhairyaBahl Please remove
and
as they not needed anymore. Also after looking at the whole PR, it seems to me that it is better to replace the |
@ice0 I tried doing the same but it is showing error that |
Ok, now I see the problem. So the only thing to do here is to remove redundant variables. P.S. To check the documentation for GTK3, just replace |
You can add a class by: |
@rodolforg @ice0 It is still giving this error Although its written in the docs that Thankks :) |
You can see in screenshot |
… Tried and tested
@ice0 I haven't removed the |
You are right, they are still needed. So I don't see any other issues here. Good work! |
alignment.h
Gtk::Alignment
spaces with CSS margins
Merged. Thank you! |
@ice0 @Keyikedalube @rodolforg
This PR is meant for removal of SPACES that are added with the help of
alignment.h
.