themes

Embed Windows XP Theme in C# Winforms application

落花浮王杯 提交于 2020-01-04 02:56:08
问题 I have a legacy C# Windows Forms application with the layout designed on the Windows XP default theme. Due to the need to distribute it as a Citrix application, the application now looks like as a Classic Theme application, because Citrix discourages the use of the Theme system service. So, now I don't want to depend anymore on the Themes system service, but keep the Windows XP default Theme design, even on Windows 7 computers (Citrix server is a Windows 2008 R2 computer). Is there a way to

How does Froyo display a Dialog atop the home screen?

[亡魂溺海] 提交于 2020-01-03 19:05:08
问题 I upgraded my Nexus One a few days ago with 2.2 (Froyo). This morning when I went to use it I saw a Dialog sitting atop the home/launcher screen notifying me that an update was available and that I could choose to upgrade now or later. My question is, what API mechanisms is this using to show a Dialog (perhaps an AlertDialog) atop the home screen? Having written an Android app, it was my understanding that Dialogs could only be shown atop an Activity, and that a Service cannot show a Dialog

How does Froyo display a Dialog atop the home screen?

懵懂的女人 提交于 2020-01-03 19:02:16
问题 I upgraded my Nexus One a few days ago with 2.2 (Froyo). This morning when I went to use it I saw a Dialog sitting atop the home/launcher screen notifying me that an update was available and that I could choose to upgrade now or later. My question is, what API mechanisms is this using to show a Dialog (perhaps an AlertDialog) atop the home screen? Having written an Android app, it was my understanding that Dialogs could only be shown atop an Activity, and that a Service cannot show a Dialog

Other option for colored scrollbar in tkinter based program?

試著忘記壹切 提交于 2020-01-03 18:34:13
问题 So after hours or reading post and looking at the documentation for tkinter I have found that on windows machines the color options for tkinter scrollbar will not work due to the scrollbar getting its theme from windows directly. My problem is the color of the default theme really clashes with my program and I am trying to find a solution that does not involve importing a different GUI package such as PyQt (I don't have access to pip at work so this is a problem to get new packages) Aside

Other option for colored scrollbar in tkinter based program?

☆樱花仙子☆ 提交于 2020-01-03 18:33:09
问题 So after hours or reading post and looking at the documentation for tkinter I have found that on windows machines the color options for tkinter scrollbar will not work due to the scrollbar getting its theme from windows directly. My problem is the color of the default theme really clashes with my program and I am trying to find a solution that does not involve importing a different GUI package such as PyQt (I don't have access to pip at work so this is a problem to get new packages) Aside

Where can i find some themes/demo for UI in WPF application?

允我心安 提交于 2020-01-02 18:24:45
问题 I want to design a modern looking UI using visual studio designer in xaml. It gives me a nice toolbox which I can use to create a UI visually by drag and drop. As it is almost behaving like HTML, I was wondering if it too has a rich library of themes. I found some, but they are not editable through designer. Can someone please help me out and direct me to appropriate links where I can find editable themes for xaml for my WPF project? 回答1: I use this: Mahapps.metro http://mahapps.com/ I very

How to get XAML Listview with full-row selection and correct theme

孤人 提交于 2020-01-02 13:27:39
问题 I'm taking over some code that has a XAML Listview in it. I noticed the current Listview does not have full-row selection; that is, you cannot click anywhere in the row to select an item, but must click in the area occupied by the text. Looking this up, I tried adding a HorizontalContentAlignment="stretch" to the ItemContainerStyle, but now the items are no longer using the same theme as the rest of the dialog (ExpressionDark). The original XAML code: Title="SelectUser" Height="350" Width=

How to get XAML Listview with full-row selection and correct theme

天涯浪子 提交于 2020-01-02 13:27:13
问题 I'm taking over some code that has a XAML Listview in it. I noticed the current Listview does not have full-row selection; that is, you cannot click anywhere in the row to select an item, but must click in the area occupied by the text. Looking this up, I tried adding a HorizontalContentAlignment="stretch" to the ItemContainerStyle, but now the items are no longer using the same theme as the rest of the dialog (ExpressionDark). The original XAML code: Title="SelectUser" Height="350" Width=

Android 3.0: cannot style Action Bar 's action item buttons

為{幸葍}努か 提交于 2020-01-01 19:33:30
问题 Here is the dev guide related to the subject http://developer.android.com/guide/topics/ui/actionbar.html#ActionItems So we have in activity public class MyActivity extends Activity { @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.my_menu, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.first_menu_button:

Eclipse luna theme issue

白昼怎懂夜的黑 提交于 2020-01-01 14:44:11
问题 My Eclipse seems to have a problem with the themes. I use the standard dark theme that comes with it and I also use a color style to change the background/text color. I have the Luna version. Even though it does accept the changes if I hit "Apply" and "OK" when I restart Eclipse it seems to ignore the changed color style. The same happens if I change the specific "Java Editor" settings...gone. I do NOT change workspaces or something like this... Any ideas are welcome, I can't stand the color