Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnumeric
Commits
32092d1b
Commit
32092d1b
authored
Jul 12, 1998
by
Arturo Espinosa
Browse files
Minor look fix
parent
3233d4cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/item-bar.c
View file @
32092d1b
...
...
@@ -125,7 +125,7 @@ bar_draw_cell (ItemBar *item_bar, GdkDrawable *drawable, ColRowInfo *info, char
int
len
,
texth
,
shadow
;
len
=
gdk_string_width
(
font
,
str
);
texth
=
gdk_string_height
(
font
,
str
)
;
texth
=
font
->
ascent
+
font
->
descent
;
if
(
info
->
selected
){
shadow
=
GTK_SHADOW_IN
;
...
...
@@ -139,7 +139,7 @@ bar_draw_cell (ItemBar *item_bar, GdkDrawable *drawable, ColRowInfo *info, char
gtk_draw_shadow
(
canvas
->
style
,
drawable
,
GTK_STATE_NORMAL
,
shadow
,
x1
,
y1
,
x2
-
x1
,
y2
-
y1
);
gdk_draw_string
(
drawable
,
font
,
item_bar
->
gc
,
x1
+
((
x2
-
x1
)
-
len
)
/
2
,
y2
-
font
->
descent
,
y2
-
(
y2
-
y1
)
/
2
+
texth
/
2
-
1
,
str
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment