I am trying to justify some elements inside `core-toolbar` but I cannot
get it to work.
here is my code:
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0,
0.0980392) 0px 0px 3px;
left: 440px;
top: 90px;
background-color: rgb(255, 255, 255);
}
#core_toolbar {
right: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#div {
display: block;
}
#core_icon_button {
display: block;
}
</style>
<core-card id="core_card" layout vertical>
<core-toolbar id="core_toolbar" horizontal layout justified>
<div id="div1">div 1</div>
<div id="div2">div 2</div>
<div id="div">Toolbar</div>
</core-toolbar>
</core-card>
</template>
Code result
<https://lh4.googleusercontent.com/-cv7-txOOjGE/VCVpaKk6F6I/AAAAAAAAATs/ffXUU8QKXiw/s1600/Capture.PNG>
Expected result
<https://lh6.googleusercontent.com/-iK9mb4_N0mk/VCVpgMOMsLI/AAAAAAAAAT0/7Q4XrxbOugw/s1600/Captudre.PNG>
stackoverflow question
<http://stackoverflow.com/questions/26060221/cannot-justify-elements-inside-coretoolbar>
Thanks.
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/e3298f52-dd1f-4995-b528-d13fe3736704%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.