I made a separate file for all the labels to be used in the main window called Labels.vala

This is the code inside that file: enter image description here

Now, when I try to add this class to a grid inside the main window, it compiles with no errors but the labels are not displayed in the main window.

enter image description here

This is how I add the labels grid in the main window grid.

Link to source code: https://github.com/Suzie97/epoch

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.