How to change tooltip background color in Unity?


I'm also having this tooltip color problem in order to have a consistent look with the color theme i've chosen.

As i like dark color themes the default background color of the tooltips makes them unreadable. Try reading white characters on light yellow background and you have the idea.

I have though been able to change the color of the tooltip text, so i can read them now.
I think it was by changing one of the text colors to light blue in the kde theme, but i'm not 100% sure as it only changed after rebooting a few days later.

So now i'm stuck with that awful yellow background that doesn't fit at all with the rest of the theme.

Searching the internet i found a solution that works for a gnome environment :

#1 edit ~/.gtkrc-2.0

#2 Copy and paste the following lines in that file:

style “tooltip” { bg[NORMAL] = “#FFFFFF” }
widget “gtk-tooltips” style “tooltip”

#3 Change the Hex code (#FFFFFF) to whatever...

0 0

I'm not sure if I'm reporting this against the right package, but I tried to use kdevelop in the Unity environment and couldn't read its tooltips because the text is white on a pale yellow background. I can't find any way to change this. I tried qtconfig, but the Tune Palette button is disabled for the default GUI Style, and has no effect if I change the style to something else eg GTK+. However, qtconfig does overwrite my gtk3 settings.ini with one that makes all menus appear with black text on a dark grey background!

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: light-themes 14.04+14.04.20140410-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jun 19 14:59:55 2014
InstallationDate: Installed on 2014-06-13 (5 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release...

0 0

May 7, 2015

How Coloring cells and rows in a Gridview using javascript with these examples of this page. url...

Apr 9, 2014

how to change backcolor of gridview In ModalPopupExtender

Sep 10, 2010

I have a GridView with an alternating Css style. The GridView has a column called tradeId. What I want to show is an alternating colour based on a change in the tradeId. Is this possible? It will make it easier on the eye to group trades together by colour. Here's the GridView code as it is right now:


Jun 29, 2010

I have repeater and I am using foreach to go through each row, checking for specific value and assigned the label accordingly. However, when there is a value that is not expected, I would like to highlight the whole row on yellow color.

How can I set only for specific row in repeater with different background color?

May 7, 2015


0 0

I think this one is solved. I got it showing the tooltip with black letters on white background. In my case, it seems that Eclipse is using settings fot tooltips from gtk-2.0/gtkrc file from theme directory.

My setup: Ubuntu 12.04, Gnome (Not Unitiy), Eclipse Indigo (3.7), GrayDay theme for Gnome. The name of theme and theme itself is not importat.

Open the terminal, change to the theme directory (cd $HOME/.themes) and there, go to the directory of your theme. If your .themes direcotry if empty of it doesn't exist, then, you are using system theme which is in /usr/share/themes. Just figure out the name of the theme you are using (right click on bakcground, choose Change Desktop Background, the theme name should be in the lower right corner. If it says nothing about theme name, then use gnome-tweak-tool to find out which theme you are using).

In the theme directory, issue this command:

grep -r tooltip *

it should list all of the files and lines where...

0 0
BeginGroup Begin a group. Must be matched with a call to EndGroup. BeginScrollView Begin a scrolling view inside your GUI. Box Create a Box on the GUI Layer. A Box can contain text, an image, or a combination of these along with an optional tooltip, through using a GUIContent parameter. You may also use a GUIStyle to adjust the layout of items in a box, text colour and other properties. BringWindowToBack Bring a specific window to back of the floating windows. BringWindowToFront Bring a specific window to front of the floating windows. Button Make a single press button. The user clicks them and something happens immediately. DragWindow Make a window draggable. DrawTexture Draw a texture within a rectangle. DrawTextureWithTexCoords Draw a texture within a rectangle with the given texture coordinates. Use this function for clipping or tiling the image within the given rectangle. EndGroup End a group. EndScrollView Ends a scrollview started with a call to BeginScrollView. ...
0 0

Color provides intuitive way of finding through an app's various levels of information and serves as a crucial tool for reinforcing the interaction model.

In Windows, color is also personal. Users can choose a color and a light or dark theme to be reflected throughout their experience.

Accent color

The user can pick a single color called the accent from Settings > Personalization > Colors. They have their choice from a curated set of 48 color swatches, except on Xbox which has a palette of 21 TV-safe colors.

Default accent colors

Xbox accent colors

When users choose an accent color, it appears as part of their system theme. The areas affected are Start, Taskbar, window chrome, selected interaction states and hyperlinks within common controls. Each app can further incorporate the accent color through their typography, backgrounds, and interactions—or override it to preserve their specific branding.

Color palette building...

0 0

[ Updated for UWP apps on Windows 10. For Windows 8.x articles, see the archive ]

Important APIs

Learn how to debug a background task, including background task activation and debug tracing in the Windows event log.

Debugging multi-process vs. single-process background tasks

This topic primarily addresses background tasks that run in a separate process than the host app. If you are debugging a single-process background task, then you won't have a separate background task project and can set a breakpoint on OnBackgroundActivated() (where your single-process background code runs) and see step 2 in Trigger background tasks manually to debug background task code, below, for instructions about how to trigger your background code to execute.

Make sure the background task project is set up correctly

This topic assumes that you already have an existing app with a background task to debug. The following is specific to background tasks that run...

0 0
Update 0.3.0:
- Increased visibility on cooldown timers
- Increased font size on the main menu
- Show number of skill levels in the help section
- Removed exit button from the web player
- Practice mode that lets you enter solo (type //practice)
- Matches now use the same chat system as the lobby
- Guild tags need at least 2 characters from now on
- Player country is shown in the ranking lists
- Added skill cast voices

Update 0.3.1:
- Ping is now also shown in the bottom right corner
- Rune detonation and cleansing are now shown as text (like CC effects)
- Added a few graphics settings (especially VSync)
- Bugfix: Scoreboard doesn't blink anymore
- Bugfix: Mouse lock should always work now

Update 0.3.2:
- Artifact system
- L1-L3 artifacts will be rewarded after a match
- Bugfix: Launcher will now try to start the game on the 1st monitor

Update 0.3.3:
- AoE...

0 0

Design your Universal Windows Platform (UWP) app so that it looks good and functions well on Xbox One and television screens.


The Universal Windows Platform lets you create delightful experiences across multiple Windows 10 devices. Most of the functionality provided by the UWP framework enables apps to use the same user interface (UI) across these devices, without additional work. However, tailoring and optimizing your app to work great on Xbox One and TV screens requires special considerations.

The experience of sitting on your couch across the room, using a gamepad or remote to interact with your TV, is called the 10-foot experience. It is so named because the user is generally sitting approximately 10 feet away from the screen. This provides unique challenges that aren't present in, say, the 2-foot experience, or interacting with a PC. If you are developing an app for Xbox One or any other device that outputs to the TV screen and uses a controller...

0 0

[ Updated for UWP apps on Windows 10. For Windows 8.x articles, see the archive ]

Important APIs

Learn how to schedule a one-time background task, or run a periodic background task.

Create a new TimeTrigger. The second parameter, OneShot, specifies whether the background task will run only once or keep running periodically. If OneShot is set to true, the first parameter (FreshnessTime) specifies the number of minutes to wait before scheduling the background task. If OneShot is set to false, FreshnessTime specifies the frequency at which the background task will run.

The built-in timer for Universal Windows Platform (UWP) apps that target the desktop or mobile device family runs background tasks in 15-minute intervals.

If FreshnessTime is set to 15 minutes and OneShot is true, the task will run once starting between 0 and 15 minutes from the time it is registered.

If FreshnessTime is set to 15 minutes and OneShot is false, the task will...

0 0