These are chat archives for ButchersBoy/Dragablz

23rd
Oct 2015
dudu631
@dudu631
Oct 23 2015 02:00
Is there a way to change the command of the closeItem, to one of my commands?
James Willock
@ButchersBoy
Oct 23 2015 04:37
@dudu631 hi, are you up and running? You can do everything you want to do.
Artur
@l1pton17
Oct 23 2015 07:58
@ButchersBoy is there way to disable close button only for one certain tab?
James Willock
@ButchersBoy
Oct 23 2015 08:01
Right now you'd have to add the close button in manually, so you can control, maybe from your view model. Some of the samples show how to manually add extra content - such as your custom close button. UNLESS you only want to disable starting from the left. In that case it's easy: FixedHeaderCount
dudu631
@dudu631
Oct 23 2015 10:42
@ButchersBoy hmm okay. I'll take a look, which example are you talking about?
My solution was to replace the style inside tablaz.resource, and make my own changes to it. Actually right now I like this way cause I could change the close button position and some other adjustments. But I want to know if there is another way of replacing the close button as well!
James Willock
@ButchersBoy
Oct 23 2015 10:51
Run up the main source. Look at the trapezoid tabs, the "Header" tab. Shows you how to completely customise the tab without changing the style. The same technique should apply to Material Design theme.
This is the recommended way.
dudu631
@dudu631
Oct 23 2015 14:39
Ok. I'll take a look then. Thanks for all your help!