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

Autoscale widgets with CSS calc() - extra work? #27

Draft
wants to merge 127 commits into
base: master
Choose a base branch
from
Draft

Conversation

sheesania
Copy link
Contributor

Part of #25

This work is related to the autoscaling project, but I'm not sure precisely how.

Made a couple changes to line 102; no value conversion has yet occurred, only formatting changes.
Added a comment to the HTML doc for the purpose of discerning whether changes are being processed properly.
No values have yet been converted; only display format has been altered.
No values have yet been converted; only formatting has been altered.
No values have yet been converted; only formatting has been altered.
No values have yet been converted; only display format has been altered.
Ideally, ht_utils_layers.js should now be able to access pg_flex_w directly.
ht_utils_layers.js should now have direct access to pg_min_w
Note: this may not work properly if the min-width of the current pane has not already been set.
Revert "Changed pixel formatting cues to percentage"
Changed percentage cues back to pixel format
Converted percentage formatting back to pixel format
Removed a line of code originally meant to ensure that changes to the code were appearing in the final output.
Changed percentage formatting cues back to pixel format
Reverted percentage formatting back to pixel format, and removed the unnecessary and problematic variable mw.
Declared some new variables to see whether their mere presence upsets the balance of things.
Added some functions to initialize the variables declared last round, and added some corresponding functionality to the htrAddStylesheetItem calls.
Removed some stray references to a variable I replaced in the last commit.
Added a snippet of code to narrow down the possible issues that may have prevented the last commit from working properly.
CarlYunghans and others added 30 commits July 15, 2020 13:49
Turns out you need to include the stdbool library to use the bool variable type in C. Also, I forgot to declare firstbornWidth before using it.
The function isMainContainer() was used before it was declared.
Removed references to min-width and min-height; doubled the influence of box_offset in an effort to resolve the overexpansion issue that's just arisen.
Before, it was defaulting to zero, which nullified the part of calc() that accounted for spacing.
Reverted default box_offset value to 0 and converted the bool variables I'd added to integers.
Previously was determined by box_offset, which is more a flag than a value
Also remedied an inconsistency in calc()
Replaced a hard-coded value with a soft-coded one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants