pnp / blog

holds all blogs published on the Microsoft 365 Platform Community blog
https://pnp.github.io/blog
MIT License
74 stars 106 forks source link

Series: Build Power Apps that don't look like Power Apps - Material Design part 1 #911

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Series: Build Power Apps that don't look like Power Apps - Material Design part 1

One of my most important goals when developing Power Apps is good design.

https://pnp.github.io/blog/post/build-powerapps-that-dont-look-like-powerapps-1/

nihin commented 1 year ago

I tried to replicate this but didn't quite get this effect as it is malfunctioning.

I noticed that these(Under the subheading 'The Icons') were giving errors Set Y of btn_secondary to btn_secondary.Y+ (btn_secondary.Height-Self.Height)/2 Set Y of btn_tertiary to btn_tertiary.Y+ (btn_tertiary.Height-Self.Height)/2 Set Y of btn_quarternary to btn_quarternary.Y+ (btn_quarternary.Height-Self.Height)/2

so I implemented them as: Set Y of icon_secondary to btn_secondary.Y+ (btn_secondary.Height-Self.Height)/2 Set Y of icon_tertiary to btn_tertiary.Y+ (btn_tertiary.Height-Self.Height)/2 Set Y of icon_quarternary to btn_quarternary.Y+ (btn_quarternary.Height-Self.Height)/2

Also, is it intentional that the Y properties of both icon_Start and icon_Close were not defined?

Please help as I have not been able to figure this out yet.