Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Corrado <alexc@xamarin.com>2012-11-01 20:58:39 +0400
committerAlex Corrado <alexc@xamarin.com>2012-11-01 21:24:28 +0400
commitb9efd67a513958b8ca2f4b31446d19d0cadfce59 (patch)
treece1fa02752cd9a6cfea507a4efb40138c3edb0ff /main/src/core/MonoDevelop.Ide/gtkrc
parent1a9054932129137aa7230ad614ee1f6b691a9abd (diff)
[gtkrc] Theme context menus and combo box menus with the quartz engine on OSX
There are still a few nitpicky issues that would be nice to fix: + The arrows for items with submenus are too small + The blue highlight does not extend down far enough under the label of the last item on the menu + The combobox menu should ideally align its text directly over the combobox label and display a check mark next to the selected item
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/gtkrc')
-rw-r--r--main/src/core/MonoDevelop.Ide/gtkrc35
1 files changed, 22 insertions, 13 deletions
diff --git a/main/src/core/MonoDevelop.Ide/gtkrc b/main/src/core/MonoDevelop.Ide/gtkrc
index d478eb115b..277a8ce260 100644
--- a/main/src/core/MonoDevelop.Ide/gtkrc
+++ b/main/src/core/MonoDevelop.Ide/gtkrc
@@ -77,6 +77,11 @@ style "default" {
GtkExpander::expander-size = 8
GtkComboBox::arrow-size = 12
+ GtkMenu::vertical-padding = 4
+ GtkMenuItem::horizontal-padding = 8
+ GtkMenuItem::toggle-spacing = 0
+ GtkSeparatorMenuItem::horizontal-padding = 2
+
engine "xamarin" {
arrowstyle = 2
@@ -146,25 +151,23 @@ style "toggle-button" = "button" {
style "menu" {
xthickness = 0
ythickness = 0
+ font_name = "Lucida Grande 14"
+ bg[PRELIGHT] = @selected_fg_color
fg[PRELIGHT] = @selected_fg_color
+ text[PRELIGHT] = @selected_fg_color
- engine "xamarin" {
- roundness = 3
- gradient_shades = {1.02, 0.97, 0.92, 0.87}
+ engine "quartz" {
}
}
-style "menu-item" {
- xthickness = 0
- ythickness = 3
-
- fg[PRELIGHT] = @selected_fg_color
+style "menu-item" = "menu" {
+ ythickness = 2
+ GtkWidget::draw-border = { 0, 0, 0, 2 }
+}
- engine "xamarin" {
- roundness = 0
- gradient_shades = {1.02, 0.97, 0.92, 0.87}
- }
+style "menu-separator" = "menu-item" {
+ ythickness = 3
}
style "toolbar" = "default"
@@ -248,7 +251,7 @@ style "combo-box" = "default"
style "combo-box-entry" = "combo-box"
{
- engine "xamarin" {
+ engine "xamarin" {
arrowstyle = 3
}
}
@@ -258,6 +261,10 @@ style "combo-box-label" = "combo-box"
fg[NORMAL] = "#595959"
}
+style "combo-box-menu" = "menu" {
+ font_name = "Lucida Grande 12"
+}
+
style "notebook" = "default"
{
GtkNotebook::tab-overlap = 1
@@ -364,6 +371,8 @@ widget_class "<GtkDialog>.<GtkVBox>.<GtkButtonBox>.<GtkButton>*" style "dialog-b
widget_class "*<GtkMenu>*" style "menu"
widget_class "*<GtkMenuItem>*" style "menu-item"
+widget_class "*<GtkSeparatorMenuItem>" style "menu-separator"
+widget "*.gtk-combobox-popup-menu*" style "combo-box-menu"
widget_class "*<GtkToolbar>*" style "toolbar"
widget_class "*ToolButton*" style "toolbar-button"