themes

How to change WPF Listbox/ListBoxItem DataTemplate for selected item WITHOUT affecting style & theming?

跟風遠走 提交于 2019-12-11 12:49:48
问题 This question is very similar to Change WPF DataTemplate..., which I have read and implemented. It worked beautifully at first, but I ran into a problem with it. That problem is that, when using themes in your application such as those in the WPF Futures project (e.g. Expression Dark), the ListBoxItems all revert back to the default WPF styling. This breaks the theme for those elements and, for example, produces black text on black background where the text would otherwise be white. This also

white background for few seconds before splash screen android

谁说我不能喝 提交于 2019-12-11 12:35:39
问题 I facing a problem while launching the app. A white background is displayed for a few seconds at first start up, then at second start up sometime it doesn't appears. I used this in my AppTheme <item name="android:windowNoTitle">true</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowBackground">@drawable/my_app_background</item> I am successful but it shows the my_app_background image inside the app also instead of white background My current AppTheme

Ancient Delphi VCL app looks to have no Windows theme or VCL Style

六眼飞鱼酱① 提交于 2019-12-11 12:28:55
问题 That's my analysis, anyway. I "distributed" my app to our organization this morning only to learn that, after a month of new work in XE8 on this old win32 app, clients not using the Windows 7 "Basic" theme see a very faded appearance. But those of us using remote desktop or using the Basic theme see about what I think we've always seen. Facts: Made with XE8, Win32, current Raize components XPMan removed along the way "Enable themes" is "on" in all configs, Metropolis checked, Windows is set

Avada Theme - Submenu customization

北城以北 提交于 2019-12-11 12:27:04
问题 I just started using the Avada Theme in my wordpress site. I need to customize the menu on the left hand side. The items in the submenu should be shown below the parent item, not on next to it. I started by using the side-navigation css styles, but I can't get the child items to work. .side-nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ededed; margin-bottom: 20px; } .side-nav ul { list-style: none; margin: 0; padding: 0; } .side-nav li { margin: 0; padding: 0; } .side

Hot to change/set global scale aesthetics / colours for ggplot?

孤街醉人 提交于 2019-12-11 11:37:17
问题 I like to write a function, which globally sets specific theme options and scale aesthetics for ggplot objects, comparable to the ggthemr-package. I can modify theme options with following code-snippet: sjtheme <- theme_grey() + theme(axis.text.x = element_text(angle=axis.angle.x, size=rel(axis.size.x), colour=axis.color.x), axis.text.y = element_text(angle=axis.angle.y, size=rel(axis.size.y), colour=axis.color.y), axis.title = element_text(size=rel(axis.title.size), colour=axis.title.color),

styled-components, polished and themes

笑着哭i 提交于 2019-12-11 09:46:41
问题 I am trying Styled-components in a simple React project, I have a theme object that is passed to the component so I can do: background-color: ${props => props.theme.primary}; I am also using Polished to modify the passed values, so a button uses a darker version of the color as an outline. I can do this with: border: 1px solid ${darken(0.05, '#00823b')}; But I need the color value to be from the theme, how do I go about passing the theme properties in? Thanks! 回答1: Define your border style

Tumblr white bar appears on top of my mobile theme after disabling Follow button through code

谁都会走 提交于 2019-12-11 09:05:50
问题 So, as of 4/12/15 , Tumblr has changed something in their code and the "Promote Tumblr!" buttons reappeared on my blog, even if I had them disabled in the advanced settings... I searched and found this code: iframe:first-child { display: none !important; } that worked for me, but now on the mobile version of the site, I get a plain white bar on top, right where the Tumblr Promote buttons used to be... On desktop, everything works ok... I attached the screenshots of before and after here:

Auto-loading Emacs themes in daemon mode

好久不见. 提交于 2019-12-11 08:48:37
问题 I run emacs like this: /usr/local/bin/emacsclient -q -a "" -t and I have this in my .emacs: ;; ;; Theme ;; (if (daemonp) ;; (add-hook 'after-make-frame-functions ;; (lambda (frame) ;; (message "Hello") ;; (load-theme 'solarized-dark))) ;; (load-theme 'solarized-dark t)) (load-theme 'solarized-dark t t) This works when starting /usr/bin/emacs but not in daemon mode. As you can see from the commented lines, I've tried a few variations to get this working. I'm a beginner at emacs-lisp. Manually

Manually set template using PHP in WordPress

浪尽此生 提交于 2019-12-11 08:39:29
问题 I'm designing a new template to replace an existing one. The template is called featured.php and I'm going to be replacing it with featured-new.php I want to pass the variable "new" in the querystring, then if the new variable is present it'll using the featured-new.php file. How can I do this? Is there a tag to tell a page to use a specified template? 回答1: I would use theme switcher plugins such as this one, then customize whether present it only from URL or switch on the layout. Also, take

Cannot animate (0).(1) on an immutable object?

丶灬走出姿态 提交于 2019-12-11 08:25:40
问题 I have a ComboBox with a custom theme I wrote, and I get the error message "Cannot animate (0).(1) on an immutable object." This specifically happens when I set its selectedindex after the user selects one of the options in the combobox. Doing some research online, I found that this is a common issue with databound items or dynamic resources. I'm not using any databound resources, but what I think is happening is since the combobox is collapsed, it tries to set the state of a button that