Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MyCard
magicseteditor
Commits
889a5b7f
Commit
889a5b7f
authored
May 19, 2007
by
coppro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dropdown arrow display bug on Linux.
parent
902f493d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
src/data/field.cpp
src/data/field.cpp
+1
-1
src/gui/control/native_look_editor.cpp
src/gui/control/native_look_editor.cpp
+1
-1
src/gui/util.cpp
src/gui/util.cpp
+3
-0
No files found.
src/data/field.cpp
View file @
889a5b7f
...
...
@@ -115,7 +115,7 @@ bool Style::update(Context& ctx) {
}
void
Style
::
initDependencies
(
Context
&
ctx
,
const
Dependency
&
dep
)
const
{
//
/
left .initDependencies(ctx,dep);
// left .initDependencies(ctx,dep);
// top .initDependencies(ctx,dep);
// width .initDependencies(ctx,dep);
// height .initDependencies(ctx,dep);
...
...
src/gui/control/native_look_editor.cpp
View file @
889a5b7f
...
...
@@ -72,7 +72,7 @@ void NativeLookEditor::resizeViewers() {
y
+=
s
->
height
+
vspace
;
}
SetVirtualSize
(
w
,
(
int
)
y
);
SetScrollbar
(
wxVERTICAL
,
0
,
h
,
(
int
)
y
);
SetScrollbar
(
wxVERTICAL
,
0
,
h
,
(
int
)
y
);
if
(
y
>=
h
)
{
// Doesn't fit vertically, add scrollbar and resize
/*
...
...
src/gui/util.cpp
View file @
889a5b7f
...
...
@@ -194,6 +194,9 @@ void draw_menu_arrow(Window* win, DC& dc, const wxRect& rect, bool active) {
void
draw_drop_down_arrow
(
Window
*
win
,
DC
&
dc
,
const
wxRect
&
rect
,
bool
active
)
{
wxRendererNative
&
rn
=
wxRendererNative
::
GetDefault
();
int
w
=
wxSystemSettings
::
GetMetric
(
wxSYS_VSCROLL_ARROW_X
);
// drop down arrow is same size
if
(
w
==
-
1
)
{
w
=
wxSystemSettings
::
GetMetric
(
wxSYS_VSCROLL_X
);
// Try just the scrollbar, then.
}
rn
.
DrawComboBoxDropButton
(
win
,
dc
,
wxRect
(
rect
.
x
+
rect
.
width
-
w
,
rect
.
y
,
w
,
rect
.
height
)
,
active
?
wxCONTROL_PRESSED
:
0
);
...
...
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