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

How to use division in stylesheet layouts #56

Closed
chh51 opened this issue Feb 16, 2016 · 1 comment
Closed

How to use division in stylesheet layouts #56

chh51 opened this issue Feb 16, 2016 · 1 comment

Comments

@chh51
Copy link
Contributor

chh51 commented Feb 16, 2016

I want to use a division operator in my layout statement in a .css file,

#sbButtonLR {
  layout:           size( sbRoot.width/3, @buttonHeight ),right( parent.width -10 ), bottom( sbGuide.bottom );
}

Subtraction works fine, but not clear how to multiply or divide

#sbButtonUR {
  layout:           size( sbRoot.width-200, @buttonHeight ),right( parent.width -10 ), top( sbGuide.top );
}

For a working example of this bug see the sample program InterfaCSS-Example on GitHub.

@chh51
Copy link
Contributor Author

chh51 commented Feb 19, 2016

After looking at code in more detail, this is not worth the effort to implement. There are other existing ways to solve the problem.

@chh51 chh51 closed this as completed Feb 19, 2016
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

No branches or pull requests

1 participant