Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
526c5b1e
Commit
526c5b1e
authored
Nov 17, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in Ge table header textsize
parent
c437a13f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
xtt/lib/glow/src/glow_growtable.cpp
xtt/lib/glow/src/glow_growtable.cpp
+2
-1
No files found.
xtt/lib/glow/src/glow_growtable.cpp
View file @
526c5b1e
...
...
@@ -306,6 +306,7 @@ void GrowTable::draw( GlowWind *w, GlowTransform *t, int highlight, int hot, voi
text_idx
=
min
(
text_idx
,
DRAW_TYPE_SIZE
-
1
);
int
header_text_idx
=
int
(
w
->
zoom_factor_y
/
w
->
base_zoom_factor
*
(
header_text_size
+
4
)
-
4
);
header_text_idx
=
min
(
header_text_idx
,
DRAW_TYPE_SIZE
-
1
);
double
header_tsize
=
w
->
zoom_factor_y
/
w
->
base_zoom_factor
*
(
8
+
2
*
header_text_size
);
int
ll_x
,
ll_y
,
ur_x
,
ur_y
;
double
dx1
,
dy1
,
dx2
,
dy2
;
...
...
@@ -427,7 +428,7 @@ void GrowTable::draw( GlowWind *w, GlowTransform *t, int highlight, int hot, voi
if
(
header_text_idx
>=
0
&&
strcmp
(
header_text
[
i
],
""
)
!=
0
)
{
ctx
->
gdraw
->
text
(
w
,
int
(
x
+
text_offs
),
int
(
y
+
header_h
-
4
),
header_text
[
i
],
strlen
(
header_text
[
i
]),
header_text_drawtype
,
header_text_color
,
header_text_idx
,
highlight
,
0
,
font
,
tsize
);
header_text_idx
,
highlight
,
0
,
font
,
header_
tsize
);
}
x
+=
column_width
[
i
]
*
w
->
zoom_factor_x
;
if
(
x
>
ur_x
)
...
...
Write
Preview
Markdown
is supported
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