On Friday, August 5, 2016 at 12:14:12 PM UTC-7, FrD wrote:
>
> The problem I encounter is that the second button (the one which closes 
> the slider) is centered and not left-aligned, and I can't figure out why.
> Here is the code you can put inside a tiddler at tiddlywiki.com :
> <$reveal type="match" state=<<qualify "cal_">> text="close" 
> default="close">
> <$button set=<<qualify "cal_">> setTo="open" 
> class="tc-btn-invisible">{{$:/core/images/right-arrow}}
> </$button>
> </$reveal>
> <$reveal type="match" state=<<qualify "cal_">> text="open">
> <$button set=<<qualify "cal_">> setTo="close" class="tc-btn-invisible">
> {{$:/core/images/down-arrow}}
> <$macrocall $name='colour-picker' actions="
> <$action-setfield $tiddler='TestColourPicker' $index='background-color' 
> $value=<<colour-picker-value>>/>
> "/>
> </$button>
> </$reveal>
>

You have the entire color picker inside the second button!  Move the 
</$button> before the <$macrocall> to fix it.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f2cb022a-5229-490e-847e-c8ed83dac79e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to