I am using the version of WebStorm, 2018.1
When I try to set the look&feel from Darcula to a light appearance, it does not completely do that. Some parts of the UI stick to the dark theme.
Any ideas how I can solve this?
You are using Material Theme UI plugin right?
It sets own GUI Theme in some another way (overrides stuff on the go?). You have to disable the plugin first and restart IDE. After that you can use bundled GUI Themes.
That's how it worked before .. so must still work the same even now.
Related
I want to change my theme in CodeBlocks to dark. And I do not mean just the editor's theme.
I'll show you what I mean:
I want to change every whitespace to dark. How can I do so?
CodeBlocks doesn't have this feature. The closest you can get is this which is most probably not the solution you would desire.
I am using pywinauto to automate NASPT Exerciser tool.
app.IntelNASPerformanceToolkitExerciser.PhotoAlbum.Click().
to click photo album button,
app.IntelNASPerformanceToolkitExerciser.all.Click()
to click all. It's not selecting all buttons.
app.IntelNASPerformanceToolkitExerciser.MenuSelect("Configure->NASPT Tool")
It is throwing error saying can't select Menu to this object.
Is there any other way to achieve above problem?
Can anyone help about this?
This is .NET application. pywinauto has very limited support of .NET controls. So you need to use Windows UI Automation API for such toolbar. Precisely InvokePattern should help with pressing toolbar button.
Or you may try to click button by hard coded coordinates like that:
app.IntelNASPerformanceToolkitExerciser.Children()[54].ClickInput(coords=(300, 10))
This hard-coding way may be better than dealing with quite complicated UI Automation API.
BTW, you may get pywinauto clone with .NET programmatic names support. Just download it as zip and run python setup.py install.
With that mod you can code so:
app.IntelNASPerformanceToolkitExerciser.toolStrip.ClickInput(coords=(300, 10))
I've just checked it. I think hard-coded coordinates is OK here because the software is end-of-lifed and will not be changed. There are not so many unsupported .NET controls.
Is there a theme that we can use in Eclipse or Android Studio for doing XML layouts? I know we should use:
<style name="CustomTheme" parent="#android:style/Theme.DeviceDefault">
to get the Glass theme on the device, but how about while laying out in the editor?
Since it looks like the XML got eaten up in your original post, I'll repeat the tips to get the Glass theme on the device: remove any android:theme attributes that your IDE has automatically inserted, or if you need a custom theme, have it inherit from Theme.DeviceDefault (see GDK: Glass theme and UI widgets).
Eclipse and Android Studio do not yet provide an out-of-the-box exact Glass layout experience. You can approximate it fairly well by creating a device definition in the AVD Manager that matches the screen resolution on Glass (640 × 360, notlong, hdpi) as suggested by this post.
Then, select that device definition in your layout editor. You may also want to select Theme.DeviceDefault.FullScreen.NoActionBar to remove the status bar and action bar in your editor preview.
You might want to look at how I accomplished getting the Glass theme (which is just no theme as discussed in https://developers.google.com/glass/develop/gdk/ui/theme-widgets) in a Hello World app for Glass. Since the ADT in Eclipse creates a Theme by default and assigns it to the application in AndroidManifest.xml, I just had to remove it.
Here is a Git commit that shows this in action: https://github.com/luisdelarosa/HelloGlass/commit/a58208ddef2b9b25ac605735da0dd93860492477
Specifically I looked for this line in AndroidManifest.xml and removed it:
android:theme="#style/AppTheme"
I also removed the res/values/styles.xml since it was not being used anymore - it only had the themes in it.
As for having a graphical editor for Glass layouts, I don't think this is that well supported yet since we are still in Sneak Peek mode. Perhaps once we get to the Developer Preview mode, the Glass team will create editors that will allow us to design for the Glass UI exactly.
I'm new to JetBrains WebStorm IDE. I really like it, especially for my JavaScript development, but I can't find how to set a very simple preference. I use the Project and Structure toolbars constantly, but every time one of the toolbars loses focus, the toolbar hides. Is there any way to lock the toolbars to keep them from hiding so that they are always visible? It seems like something very obvious, but perhaps not... I have gone through every setting in preferences that I can see but haven't found anything that works.
Any help would be greatly appreciated.
Enable the Pinned Mode:
If you also enable Split Mode, you can have both Project and Structure visible at the same time on the same side.
Ive been looking a long time for this, but can't seem to find it. When I add a menu strip in vb .net, it looks like this:
http://img19.imageshack.us/img19/4341/menu1sbo.jpg http://img19.imageshack.us/img19/4341/menu1sbo.jpg
and I want it to look like the WinRar, Calculator, Notepad etc menus like this:
http://img8.imageshack.us/img8/307/menu1a.jpg http://img8.imageshack.us/img8/307/menu1a.jpg
From what I gathered, in vb 6 you could create a mainmenu and do it this way, but in vb .net it seems like all there is is ugly menustrip.
Thanks
You may have to get dirty and create a CustomRenderer(ToolStripProfessionalRenderer) to apply to the ToolStripManager
Without rehashing to much, this doc looks like a nice overview or you can always opt for the Microsoft tutorial
menustrip is derived from toolstrip
You may need to enable XP theme support in your project settings. To do this, go to My Project in your Solution Explorer, and make sure "Enable XP Visual Styles" is checked under the Windows application framework properties group down near the bottom of the Application tab.
If this doesn't work, you might need to create an application manifest as described in this MSDN article.
This question is quite old but for anyone else interested, you can find this type of menu in the .NET framework components. Just right click the Toolbox -> Choose items -> .NET Framework Components and filter for MainMenu. Works exactly like any other menu strip from what I've seen so far.