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

Slide Master, vertical alignment of SlideNumber element #1000

Closed
kramsram opened this issue Sep 14, 2021 · 1 comment
Closed

Slide Master, vertical alignment of SlideNumber element #1000

kramsram opened this issue Sep 14, 2021 · 1 comment
Assignees
Milestone

Comments

@kramsram
Copy link

kramsram commented Sep 14, 2021

let slideNumber = {
	color: FOOTER_FONT_COLOR,
	x: WIDE_SLIDE_WIDTH - SLIDE_NUMBER_WIDTH,
	y: SLIDE_FOOTER_TOP,
	w: SLIDE_NUMBER_WIDTH,
	h: SLIDE_NUMBER_HEIGHT,
	fontFace: SLIDE_FONT_FACE,
	fontSize: BODY_FONT_SIZE,
	valign: "bottom",
	align: "right",
};

I have the above for the slideNumber in my slide master definition. All the attributes work except for the valign attribute. The slide number is always "top" aligned. Cannot get it to align t the middle.

What am I missing? or could this be a bug in the slideNumber element?

@gitbrent gitbrent self-assigned this Oct 1, 2021
@gitbrent gitbrent added this to the 3.9.0 milestone Oct 1, 2021
gitbrent added a commit that referenced this issue Oct 1, 2021
@gitbrent
Copy link
Owner

gitbrent commented Oct 1, 2021

@kramsram - thanks for reporting this.

The valign prop was not working. It'll be fixed in the next release.

@gitbrent gitbrent closed this as completed Oct 1, 2021
gitbrent added a commit that referenced this issue Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants