How can I change the position of toast notification to be in the upper-left corner?
I try to set the default language to right to left language but no change occure.
Related
I am using ngx bootstrap date range picker in my application and it works fine except in one place which is far right to the screen. when I click the button the dates pop up but they stack on top of each other (instead of normal inline). I gave width to it and the pop up went inline but out of the screen with scroll bars.
how can I position the popup a bit to the left so it doesn't go outside the screen?
I have a slider in windows phone as shown in figure. When I swipe the slider it's working. But what I want is, if I swipe the slider and leave it in the middle without reaching the end of the slider - it should return back to the beginning like elastic. If it was swiped to the end then it should navigate to the next page. Why I am using slider is, I need to control a text's opacity with animation. How to do this task?
I would use VisualStates to provide the animation, then you don't have to worry about the physics of it. I have created a similar scenario for a notification style Windows Phone effect, you know how you can swipe a notification off to the right. Basically it would be something like this:
OnManipulationStarted VisualStateManager.GoToState for OpenBegin or ClosedBegin depending on the state
OnManipulationDelta you can check e.Delta.X and if < 0 its moving left otherwise it's moving right or just check the position OnManipulationCompleted
After you know what the state call VisualStateManager.GoToState for OpenEnd or ClosedEnd and it will animate back to the specified location.
Add a comment if you need more help/code
I have the following menu with items that show the icon on the left side.
I know that it is a OS X default to have so much white on the left side, but I want to have the icons centered in the middle between the text and the edge.
Is there a way to center these icons ?
That space on the left is for the state of the menu item, represented by markers such as check marks and dashes. Short of subclassing NSMenuItem, you're not going to be able to remove that space.
You still have the option to set your own view for each of the menu items. In it, you can position the image and the text the way you want them.
See Apple's documentation for NSMenuItem.
Their documentation Introduction to Application Menus and Pop-up Lists is informative as well.
We have a requirement in our iOS5/6 app to remove the badge number from our app icon, but leave the notification text in the notification center. Setting the badge number to 0 clears out the notification text as well.
Our potential solution is to set the badge number to -1, which seems to do exactly what we are looking for. Does anyone else have any experience with doing this?
When you open the app and set the application badge to 0, all the notifications of the notification center are cleared.
This works as expected in iOS 5 and 6.0. We are able to remove the badge icon, but not the notification text by setting the badge number to -1.
How would I make the name of the app appear here ( like with a normal app )…
alt text http://snapplr.com/snap/6sgc
… when the app is an LSUIElement.
My Problem is that when the App is LSUIElement the name is not by default displayed in the menu bar like an normal app. Basically all I want LSUIElement to do is to hide the dock icon not the name in the menu bar.
For those who's native language isn't English, when I say 'App' i mean 'Application'.
Thanks.
Don't do this; it's not what users expect. A dock icon and menu bar go together. If you want to get both a dock icon and menu bar icon in your UIElement app, use TransformProcessType.
If you really must, you can draw your own menu bar window (if you use the appropriate window level it'll appear over the top of the existing menu bar).