Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
0edf9f88
Commit
0edf9f88
authored
Jan 17, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use monospace for memory
parent
5238b8c8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
MemoryPanel.js
src/ui/MemoryPanel.js
+5
-1
TreeView.js
src/ui/TreeView.js
+2
-2
dropdownPanel.js
src/ui/styles/dropdownPanel.js
+1
-2
No files found.
src/ui/MemoryPanel.js
View file @
0edf9f88
...
@@ -6,7 +6,11 @@ var yo = require('yo-yo')
...
@@ -6,7 +6,11 @@ var yo = require('yo-yo')
function
MemoryPanel
(
_parent
,
_traceManager
)
{
function
MemoryPanel
(
_parent
,
_traceManager
)
{
this
.
parent
=
_parent
this
.
parent
=
_parent
this
.
traceManager
=
_traceManager
this
.
traceManager
=
_traceManager
this
.
basicPanel
=
new
DropdownPanel
(
'Memory'
,
{
json
:
true
})
this
.
basicPanel
=
new
DropdownPanel
(
'Memory'
,
{
json
:
true
,
css
:
{
'font-family'
:
'monospace'
}})
this
.
init
()
this
.
init
()
}
}
...
...
src/ui/TreeView.js
View file @
0edf9f88
...
@@ -11,8 +11,8 @@ class TreeView {
...
@@ -11,8 +11,8 @@ class TreeView {
this
.
beforeJsonNodeRendered
=
opts
.
beforeJsonNodeRendered
||
noop
this
.
beforeJsonNodeRendered
=
opts
.
beforeJsonNodeRendered
||
noop
this
.
beforeJsonValueRendered
=
opts
.
beforeJsonValueRendered
||
noop
this
.
beforeJsonValueRendered
=
opts
.
beforeJsonValueRendered
||
noop
this
.
view
=
null
this
.
view
=
null
this
.
cssLabel
=
ui
.
formatCss
(
style
.
label
)
this
.
cssLabel
=
ui
.
formatCss
(
opts
.
css
||
{},
style
.
label
)
this
.
cssList
=
ui
.
formatCss
(
style
.
list
)
this
.
cssList
=
ui
.
formatCss
(
opts
.
css
||
{},
style
.
list
)
}
}
render
(
json
)
{
render
(
json
)
{
...
...
src/ui/styles/dropdownPanel.js
View file @
0edf9f88
...
@@ -13,8 +13,7 @@ module.exports = {
...
@@ -13,8 +13,7 @@ module.exports = {
},
},
content
:
{
content
:
{
'color'
:
'#111111'
,
'color'
:
'#111111'
,
'width'
:
'100%'
,
'width'
:
'100%'
'font-family'
:
'monospace'
},
},
inner
:
{
inner
:
{
'padding'
:
'2px'
,
'padding'
:
'2px'
,
...
...
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