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

responsive: set font size using em unit to be relative to default font size #6

Merged
merged 2 commits into from Mar 3, 2019

Conversation

Projects
None yet
1 participant
@illwieckz
Copy link
Member

illwieckz commented Feb 14, 2019

To be really useful the game must compute the default font size relatively to screen size, see Unvanquished/Unvanquished#1106 for related PR on game side (required for this to render properly) and DaemonEngine/Daemon#161 on engine side (not required).

@illwieckz illwieckz force-pushed the illwieckz:responsive branch from 408ca46 to 559cea4 Feb 15, 2019

@illwieckz illwieckz changed the title WIP: responsive ui: set font size using em unit to be relative to default font size responsive: set font size using em unit to be relative to default font size Feb 15, 2019

@illwieckz illwieckz force-pushed the illwieckz:responsive branch 3 times, most recently from 09b1068 to 20f40ff Feb 16, 2019

@illwieckz illwieckz force-pushed the illwieckz:responsive branch 7 times, most recently from a8c6a40 to 330f587 Feb 16, 2019

illwieckz added some commits Feb 14, 2019

responsive: set font size using em unit to be relative to default fon…
…t size

makes ui responsive when default font size is set to be relative to screen size

@illwieckz illwieckz force-pushed the illwieckz:responsive branch from 330f587 to 04cc39d Mar 2, 2019

@illwieckz illwieckz merged commit 8f2e40b into UnvanquishedAssets:master Mar 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.