themes

Sublime Text Theme: Change the background of the search bar

橙三吉。 提交于 2019-12-11 01:54:38
问题 I've been editing my own theme for Sublime Text, but I got stuck at one bit. I couldn't find a way to modify the color of the Input field of the search bar . I've managed to apply a background image to the container of the input (as you can see in the image bellow with a border), but I couldn't remove the white background of the input. I know that it got be a way to remove, because the Soda themes have different colors there. The question is: how? And also, is it possible to change the font

Android dialog custom style

我怕爱的太早我们不能终老 提交于 2019-12-11 01:35:51
问题 I have a custom theme which is applied to the activity: <style name="Sample" parent="android:Theme"> <item name="android:dialogTheme">@style/Sample.Dialog</item> </style> <style name="Sample.Dialog" parent="android:Theme.Dialog"> <item name="android:windowBackground">@drawable/sample_background</item> </style> I'm creating a sample Dialog like this: Dialog dialog = new Dialog(SampleActivity.this); dialog.setContentView(R.layout.sample_layout); dialog.show(); My custom dialog style isn't

C# Application wide color management

梦想的初衷 提交于 2019-12-10 23:36:15
问题 im on to write a large C# Application. The point is that the colors of the controls should be adjustable by the user of the application. It would be really nice if there are any solution to override(only for the context of this application) the System.Drawing.SystemColors, so that i do not have to set the value of every single control by hand. Do anybody know an solution for my problem which is that simple? Thanks 回答1: Look at Application Setting bindings. Not sure how you would do this for

How to skin all ASP.Net validators?

一笑奈何 提交于 2019-12-10 22:44:45
问题 I want all of the validators in an ASP.Net 3.5 website to have a CssClass value of "error". My initial thought was to do this in a theme skin like so: <asp:CompareValidator runat="server" CssClass="error" /> <asp:CustomValidator runat="server" CssClass="error" /> <asp:RequiredFieldValidator runat="server" CssClass="error" /> <belCommon:ZipCodeValidator runat="server" CssClass="error" /> <belCommon:PhoneNumberValidator runat="server" CssClass="error" /> This is only a partial listing of

How to customize docstring color for Python in VSCode's default theme?

徘徊边缘 提交于 2019-12-10 21:37:45
问题 Could some one explain to me please how to customize docstring color for Python in VSCode's default theme? I want to do it thru User Settings because want to be able to save my config file. I tried to use "editor.tokenColorCustomizations": {} but it affects all strings. 回答1: Add this to your setting file: <!-- language: json --> "editor.tokenColorCustomizations": { "textMateRules": [ { "scope":"string.quoted.docstring.multi.python", "settings": { "foreground": "#69676c" //change to your

java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12

我怕爱的太早我们不能终老 提交于 2019-12-10 20:04:18
问题 I am getting this error, java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12 , from the following lines in my override of the @android:style/Theme.Holo.Light theme below using Android API 4.1.2. It works fine in an older API and the newest. What is the issue here? <item name="android:windowTranslucentStatus">true</item> <item name="android:windowTranslucentNavigation">true</item> I am using this users-sdk line: <uses-sdk android:minSdkVersion="10" android

How to create a single post page in wordpress theme?

两盒软妹~` 提交于 2019-12-10 18:43:44
问题 I am new to wordpress theme. I have created a wordpress theme by creating index.php and style.css. This theme is actually a blog theme. So, i have designed all the section in index.php and that is my front page and i have write the php code to display the blog post from the wordpress automaticaly. It works fine. My question is, when i click on the title of the blog post it goes to the next page which indicates mysitenamedomain/post-id and i seems nothing on that page. whether i want to create

TabControl padding doesn't work with classic theme

时间秒杀一切 提交于 2019-12-10 18:14:14
问题 Does anyone know why the padding property of TabControl doesn't render with classic theme but works for luna theme? The XAML is very basic. I've made the left padding 50 so that the problem is obvious in the screenshots. <!-- Tab control styling --> <Style TargetType="{x:Type TabControl}"> <Setter Property="BorderBrush" Value="Black" /> <Setter Property="BorderThickness" Value="1,1,1,1" /> <Setter Property="Padding" Value="50,5,10,5" /> <Setter Property="Margin" Value="3.5" /> <Setter

Theme.Dialog creates too small screen

大憨熊 提交于 2019-12-10 15:47:06
问题 I have an activity with ListView that has: android:theme="@android:style/Theme.Dialog" in Manifest. When I open it and when it has only one line in ListView, the window that opens is very small. How do I make the window take the whole screen? 回答1: Use this in your onCreate method of the Activity to make it full screen. @Override protected void onCreate(Bundle arg0) { super.onCreate(arg0); setContentView(R.layout.myxml); LayoutParams params = getWindow().getAttributes(); params.height =

Should Magento's blank theme still be used as a theme baseline (Magento version 1.7)?

牧云@^-^@ 提交于 2019-12-10 15:38:54
问题 A good number of the tutorials I've found on Magento theme development recommend starting off with using blank as a guideline for making your own custom theme. A lot of these articles are pretty old, as of the current version (1.7), is this still the case? P.S. - If there are any good/relevant theme development articles out there, aside from Magento's official design guide, please feel free to link them. 回答1: In my opinion you should never 'carve out' your own theme from a base theme. You