Partial no_overflow & scrollable mod name, authors and badge#1247
Open
SleepyG11 wants to merge 11 commits intoSteamodded:mainfrom
Open
Partial no_overflow & scrollable mod name, authors and badge#1247SleepyG11 wants to merge 11 commits intoSteamodded:mainfrom
no_overflow & scrollable mod name, authors and badge#1247SleepyG11 wants to merge 11 commits intoSteamodded:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces partial
no_overflowfor elements (ability to apply it only vertically or only horizontally), and rework mod list items and mod badge to useSMODS.UIScrollBox.Partial
no_overflowno_overflownow can be applied to specified sides of container. This determined by values:v- vertical, truncate content which overflows top/bottom boundaries, not affect left/right, roundness is ignored;h- horizontal, truncate content which overflows left/right boundaries, not affect top/bottom, roundness is ignored;vhorhv- same asno_overflow = true, truncate content which overflows any boundaries, includes roundness.Unique sizes behaviour for overflow container is applied only in specified directions, same for text scaling.
Rework mod list item
Mod name and authors in mods list now uses

SMODS.UIScrollBoxto display long names (previously was multiline) or long authors list (previously DynaText with marquee).Rework mod badge
Mod badge now uses

SMODS.UIScrollBoxto display long mod names (previously DynaText with marquee). Respectsno_marquee.Additional Info: