Is there an AppBar button style that means "Open in Web Browser"?
This seems like a pretty common scenario, so maybe there's already a Microsoft style for it. Otherwise I guess I'll have to roll my own.
In lieu of a perfect match, I think the best is new window:
I think it conveys what you are wanting to say here.
It's U+E17C in Segoe UI Symbol.
You can also find it in Common/StandardStyles.xaml as NewWindowAppBarButtonStyle
The Modern UI Icons library has several icons that could be used. It contains a generic browser icon, as well as one for Chrome and IE.
I discovered this in a helpful Tim Heuer blog post about using font icons in Windows 8.1.
Related
I've made a couple small Safari extensions. For one of them, I would like to collect a set of user-entered strings (e.g., URLs or URL patterns) using a textarea in the settings screen. The only setting types offered in the documentation are one line text, check box, slider, select lists, and radio buttons. I could use a one line text field as an ugly workaround, but I'm hoping there's a better option. I've googled for hints and looked through Safari extensions in GitHub, but haven't found an example of anyone doing this yet.
Does anyone have an example of how to use a textarea for a Safari extensions setting? Is there an undocumented feature I've not been able to find? Or is there a way to trigger a custom popup window from the settings?
Thanks for any tips.
No, there is no way to build a more complex UI inside the settings dialog. What extensions typically do is add a button (checkbox, even if it's not quite the correct element) in the settings page which then launches a separate Safari page which contains the full settings UI, written in HTML.
For an example of this, install uBlock and take a look at how it launches its setting UI.
Are About dialog boxes "dead" in Windows 8 Metro apps? I looked over quite a few apps and screenshots of apps in the Windows store, and did not find any "inspiration".
Is there any guidelines from Microsoft or any article that discusses this issue?
What do you think is the best way to show a dialog box/popup that shows the app name, version, author and a link to the app's home page?
I am thinking of a icon button in the bottom appbar, something like "About Appname", that opens a popup with this information. I am using C# and XAML.
You would place the About into the Settings pane via the Settings Charm using the Setting Contract. You can see the About in almost all of the apps in the Store today. Quick start on adding Settings can be found here: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh872190.aspx
Guidelines for app settings here: http://msdn.microsoft.com/en-us/library/windows/apps/hh770544.aspx
Take a look here.
It lets you create dialogs/flyouts very easily from a UserControl. A few lines of boiler plate and you are done. Takes care of animation, UI management etc.
Where can I find alternative button controls for vb.net Winform?
Not sure what you mean since you can just choose the font so that it's any size you want and I've not seen anyone else mention this problem so I'm not sure if anyone will have written any specific controls for it. However, if you want to customize the look other options would be to override the OnPaint and draw it yourself or create an image that contains the text and show that image instead of the text.
Vendors that offer button controls with more options than standard WinForms:
infragistics.com
telerik.com
devexpress.com
I'd recommend downloading trial versions and see if you can make their controls do what you are failing to accomplish with the built in button control
Or, you could create an image that shows the text you want and attach it to the button instead of text. This is not as ideal as if you can find a small readable font though!
A little bit late but it could be useful for other:
http://namtuk.com/mycommandbutton_DOTNET.aspx
It supports a lot of button style like Office 2010, Windows 8 Metro, ...
I am wondering is there any way we can test the font size/color of a webpage in IE6+. I think it is not possible by checking the css class, as some other style may overwrite the styles of the class which has been assinged to that text.
Actually I want to know the browser assigned font-size to the text of the page, as we can do it in firebug on firefox.
Any help would be appreciated.
Of course you can. If you turn on developer tools - it's in every IE6.
Not sure but I think you can try the only famous web developer toolbar for IE:
Internet Explorer Web Developer Toolbar
I am a newbie in Mac application development. I want to write a GUI application in Cocoa using Interface Builder. I want multiple screens i.e. when one button on a screen is clicked, another screen should be displayed. How can I activate a new screen at button click event?
I would heartily recommend Aaron Hilegass's book Cocoa Programming for Mac OS X. It took me from feeling like everything was impossible to being relatively competent in the space of a few short weeks. I was very impressed with it.
Apple's documentation is amazingly good, but it takes a while to get used to the style, and you will need to know which objects actually exist before you can look up how to use them, which is where Aaron's book comes in.
Your library may have a copy of it, or be able to order one for you if they don't.
I think you mean windows, not screens. Screens are the displays (monitors) on which all the user's windows from all the user's applications appear.
And I second Jonathan's recommendation of the Hillegass book.
The button has a target. That should link to the new window. As its action you can tell the window to show itself.
Take a look at:
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/WinPanel/WinPanel.html
I think what you want is the type of interface like that seen in Coda, or System Preferences where there is a toolbar on the top of the screen that can be used to select between the content of the window.
The simplest method I have found is to use BWToolkit.
Another method is to use a series of views, and switch between them when the toolbar is clicked. I've found one description here, but that's not the one I used first (which may have been originally in Ruby Cocoa, IIRC).
NSTabView.