Kendo tabs strange behaviour - kendo-ui

I am very new to MVC/Kendo, I have a series of tabs like so:
However when I add an icon to the emailing tab a bar appears under all the other tabs:
Could anyone advise as to why this would happen?
Many thanks in advance.

So I have provided a sample Dojo for you which should hopefully help https://dojo.telerik.com/OsIhINOy/4
What I suspect is happening is that you are not applying the k-state-active to the selected tab when clicked which is why the line is still appearing. (you can see this by just deleting the k-state-active class from the first tab.
If you are able to provide a sample of your code in the future it will help in assisting your question better rather than images as it is difficult to tell what may be happening from just an image.

Related

MVVMCross: Can not close view

Hi guys I have a very weird issue in MVVMCross right now.
I'm trying to close a page by using navigationService.Close(this), but it doesn't close. In the logging I'm seeing the following message: Ignoring close for ViewModel - Matching View for ViewModel instance failed.
I checked on Github where this message is thrown and it is exactly what it says it can't find the view which needs to be closed. But now the weird thing: If I just change the presentation to Modal (which I don't want in this case) the close command just works.
Is this a bug? Am I doing something wrong? Can anyone help me?
Maybe it is because we have a TabbedRootViewModel in which the navigation is done?
Fixed it (somehow) by setting WrapInNavigationPage = true in the TabbedRootViewModel. This did give some other issues like a double navigationBar. Which I fixed by turning off the navigationBar in XAML. So it's not the ideal solution, but it is a solution :)

How to deal with buttons with Physic2D and Images (PNG)?

I want to know how to create button with my Images(PNG).
I'm not gonna use the GUIButton because of creating the default button image.
I copied the images in my Unity Project and changed to sprite(2D and UI). Then, create the sprites simply by dragging. I also added the script which includes 'onTouchDown() and onMouseDown'. However, it didn't work so I tired again with layermask but it didn't work as well with no error code. Maybe the physic2D is the reason.
How can i make button with simple image. Could you guys help me to do so?
Please let me know does anyone have idea. Thank you.
Why don't you use a button from the new UI system?
Sorry guys. I didn't recognize that i typed 'OnMouseDown' to 'onMouseDown'. I didn't used capital letter. It's really annoying thing.

I can't get the first modal, in the series of modals, to open

Greeting and thanks for your generosity in providing this wonderful forum,
I'm using jQuery Orbit Slider and Reveal Modal. I setup the slider to include content and within the content are hotlinks to a series of modals.
I can't get the first modal, in the series of modals, to open. It appears the plugin is programmatically generating inline CSS that is overriding my CSS stylesheet. Mainly z-index selector is keeping the first modal hidden (or invisible). The subsequent modals in that series work as intended.
When viewed using Chrome Inspect Console shows the inconsistency please note at "featuredContent10" which is where the slide4 resides (it's actually a background image). The data-reveal-id="slide4-1" is the first one in the series of modals. I did not add the inline styles it's in the reveal.js file.
Unfortunately, I don't know enough about reveal and can't find any information regarding a solution. The information I came away with is to ask for assistance on stackoverflow.com. 99.9% of the time I find solution on my own, however, I'm at a lost and my client likes the features of both plugins. Any help you can give me would be very much appreciated.
If it helps here’s a link to the beta site: http://www.partnershipwithearth.com/thecooperationway-1/
Go to Slide 11 lower left link is the culprit. You'll notice the dialog box and close button do appear without the image (slide4-1).
Your expertise is greatly appreciated

Disable spark tab bar tabs

I have been able to disable tabs in a tab bar using the following helpful tutorial.
http://blog.flexexamples.com/2007/08/25/enabling-and-disabling-specific-tabs-in-a-tabbar-control/
This only works for mx tabbar. Does anyone know how to do this for a spark tabbar? I prefer the lnf of the spark one. When I try it with a spark tab bar it just disables the viewstack of the tab and not the actual tab.
An alternative solution may just be to make the mx tab bar look like a spark toolbar with the rounded edges. Any ideas on this?
Many thanks in advance
Based on this post in the Adobe Forums, How to Disable a tab in a spark tab bar, your best solution seems to be a custom skin. There is also a 'hack' mentioned at the end, that was posted last month.
Give the control you have with the new structure I think the custom skin makes the most sense.

Facebook comments change "like" button behavior?

I've used like buttons on my site for several months using http://www.addthis.com/ and they've worked fine. Recently I decided to start using facebook comments on the pages instead of my previous commenting system but I've found that adding the plugin to the page has an unexpected impact on the "like" button.
The like button has been configured in the button_count style with no send button, however if the comments module is on the page the flyout appears upon liking the content. I don't want this to happen.
It may also be worth adding that there is a "like-box" on the page too but that it seems fine.
Does anybody know of a tie/conflict between comments and "like" buttons that would make this happen? Any help resolving this would be greatly appreciated.
Thanks

Resources