How to set a Theme to a Gtk# application - monodevelop

I would like to know how to set Theme styles from a Gtk-Sharp application.
I'm giving a try to MonoDevelop 4 in both OpenSuse 11.4 and a new 12.3 and writing a very simple gtk# app.
The app is just a "hello world" with a button.
In the designer it looks like this, with the rounded button look and everything:
But as soon as I run the app in the old OpenSuse 11.4 it looks like this with the square button look:
It looks "rounded" on the newer OpenSuse 12.3 so I understand I'm not setting some sort of Window style.
I tried with this but it didn't change anything so I'm missing the whole point here.
Gtk.Settings.Default.ThemeName = "Clearlooks";

That is the correct way to set a theme, maybe you don't have the "Clearlooks" theme or its theme engine installed for GTK+ 2.
In general GTK+ apps are not expected to set custom themes for themselves, they're supposed to use the system-configured theme. Perhaps a GTK+ 2 theme is not correctly configured/installed for your openSUSE 11.4 system - check how other GTK+ 2 apps look.

Related

Play button not working for #videogular/ngx-videogular v5.0.1

I upgraded my project's Angular version from 9 to 13 recently. Since videogular2 package is no longer supported with this version, I migrated the application to use #videogular/ngx-videogular and I exactly followed process for migration mentioned on the github page.
After migration, it appears my "Play video" button and controls like full screen, video scroll are missing. This is due to absence of class on the DOM. I compared other environments we have before changes and DOM looks a bit different. It doesn't have "vg-icon-play_arrow" on the DOM at all. This is how it looks -
We are maintaining local videogular.css and I see its already imported in style.scss which is correctly mentioned in Angular.json. I am not an expert in front end and not sure how can I find out why this is class "vg-icon-play_arrow" and flex is missing on "div" element "overlay-play-container"
Any suggestions on how to approach finding whats the problem? or what might be solution?
Here is how DOM looks
Note: I already tried using node_modules css which is recommended by #videogular/ngx-videogular by directly using in Angular.json instead of project videogular.css but it gives same results. Also all fonts files are latest as per recommendation

PhpStorm 2019.3 no current Inline Parameter Name Hint coloured highlighting

In PhpStorm's tip of the day or in older version of PhpStorm we can see current Inline Parameter Name Hint coloured highlighting:
But now in version 2019.3 i don't see coloured highlighting:
Is this a bug, a feature or did i miss something?
Is somebody facing the same issue?
The problem was in themes switching.
After i updated to 2019.3 i installed theme Gruvbox Theme.
I didn't like it and switched back to Darcula.
But after that the PHPStorm internal color scheme config (.icls) still had traces of the uninstalled Gruvbox Theme.
Fixed it by installing another theme (Material Theme UI), and all is good now!

PhpStorm markdown preview window - font way too small

I am using the latest PhpStorm 2016.3 on Windows. While editing a markdown file, I noticed there is a preview window (that I am fairly sure is new, but it has been awhile since I edited markdown). Unfortunately, it looks like this, where the right side preview is unreadable:
I have set up Settings->Editor->Colors and Fonts->Font to be Source Code Pro, size 28 long ago to handle my 4K monitor. And I found Settings->Editor->Colors and Fonts->Markdown where I can change the look of the left side, but not the right. So I have two questions:
Is anyone else seeing this (standard or 4K monitor)?
Is there a setting that I can change?
OK, so I found out that JetBrains has a plugin named "Markdown Support", so it is important to make sure only that plugin is installed by checking Settings->Plugins.
I was using a third-party plugin before and I believe it was turned off automatically during upgrade. When I tried to turn it back on, and restarted PhpStorm, a prompt appeared indicating the two plugins were incompatible and I had to choose one, so I chose the JetBrains plugin.
Then, Settings->Language & Frameworks->Markdown->Preview, change the Preview browser field to JavaFX WebView. And the preview pane is back to the land of readable fonts.

How do I intergrate a html document into the code

I am currently working on a new app and this is my first ever app I have attemped to make with the android os.
I am using eclipse 3.6 and using android 1.5 version as the base to make the app as compatible as I can with all android phones.
I am a newbie to java and I read a few tutorials which helped me get the app up and working but I am using webview using iframes and have the html document hosted online but I would like to have it intergrated into the app itself so that I will not have to worry if a lot of people use the app will not bring down the website.
But I also want it to be able to update all the data off the website when members want to check for updated information on the html document as I am using the html document to control the main gui.
please use PhoneGap, this will fulfil your requirements

netbeans - preview html within IDE , split view?

I have installed the latest version of netbeans and its working.. I have opened an html file but i don't see where i can preview it..
Does it support HTML preview inside the IDE?
Do i need a plugin?
I would like to view in design mode at least so i can design in the ide ...
All i see is pure html ...
any ideas?
thanks
Download NetBeans for PHP, open an HTML file and you will see
I don't believe this feature is in Netbeans as of 6.7 I'm afraid. There is CSS preview, but I assume that falls short of the full preview you require. You can preview it directly in the browser by selecting "view" in the context menu, but that again is nowhere near the full preview which you require.
Searching plugins.netbeans.org also proves fruitless.
"Web Preview" and "Embedded Browser UI - XUL Runner" solution is only working at Windows systems. My solution is using an external HTML WYSIWYG Editor for Mac OS X. There are some nice free/open source HTML interface builders:
http://www.kompozer.net/
http://ckeditor.com/
http://www.w3.org/Amaya/
Alternatively you can use HTML palette + Netbeans HTML Source editor. Click Window + Palette. At the right hand side palette will be opened which contains basic HTML elements. You can drag & drop elements to your source code as visual designers but it only creates code. This function can also help you for some basic tasks.