You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it worth to mention necessity to add load_css() in main.rs in the book at "Set CSS Name and Use Exported Colors" section of 14th (CSS) chapter?
#1335
Closed
zekefast opened this issue
Mar 17, 2023
· 4 comments
· Fixed by #1339
Actual code listing contains necessary call but it seems to me it worth to mention that addition in order to remind the reader about necessity to load CSS styles.
Actual code listing contains necessary call but it seems to me it worth to mention that addition in order to remind the reader about necessity to load CSS styles.
Yeah. Reader probably will use code from chapter 13 or copy it over and at the end of 14th chapter it could forget about CSS loading piece. At least that's what I did :) So, it seems reasonable to put one sentence as a reminder about load_css() and resources.gresource.xml.
Text body of "Set CSS Name and Use Exported Colors" section of 14th (CSS) chapter does not mention about necessity to add
load_css()
inmain.rs
.Actual code listing contains necessary call but it seems to me it worth to mention that addition in order to remind the reader about necessity to load CSS styles.
WDYT @Hofer-Julian ?
P.S. It probably worth to mention inclusion of
style.css
intoresources.gresource.xml
file.The text was updated successfully, but these errors were encountered: