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
Gabriela Bittencourt
purr-data
Commits
c2eeda56
Commit
c2eeda56
authored
Sep 27, 2020
by
Guillem Bartrina
Browse files
fix dialog borders and tilebar
parent
01d7b478
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/nw/dialog_abstractions.html
View file @
c2eeda56
...
...
@@ -4,32 +4,21 @@
<link
id=
"page_style"
rel=
"stylesheet"
type=
"text/css"
href=
"css/default.css"
>
</head>
<style>
/* width */
::-webkit-scrollbar
{
width
:
5px
;
}
/* Track */
::-webkit-scrollbar-track
{
background
:
rgba
(
0
,
0
,
0
,
0
);
}
/* Handle */
::-webkit-scrollbar-thumb
{
background
:
rgba
(
0
,
0
,
0
,
0.267
);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover
{
background
:
#888
;
}
label
{
margin-left
:
5px
;
}
</style>
<body
class=
"dialog_body"
>
<div
class=
"container"
>
<body
class=
"dialog_body prefs_body"
style=
"overflow: hidden;"
>
<div
class=
"container noselect prefs_container"
>
<table
id=
"titlebar"
>
<tr>
<td
style=
"width: 100%;"
>
<div
id=
"titlebar_title"
>
Abstractions
</div>
</td>
<td
id=
"titlebar_buttons_td"
>
<div
class=
"titlebar_buttons"
>
<div
id=
"titlebar_close_button"
onclick=
"cancel();"
>
&
#215
</div>
</div>
</td>
</tr>
</table>
<form>
<fieldset
style=
"width: 90%; border: 2px solid grey"
>
<legend
data-i18n=
"abstractions.private"
></legend>
...
...
@@ -110,8 +99,8 @@ function populate_form(attrs) {
canvas
=
attrs
.
canvas
;
deletequeue
=
new
Set
();
var
tables
=
document
.
querySelectorAll
(
"
table
"
),
privateglobal_table
=
tables
[
0
],
privatelocal_table
=
tables
[
1
];
privateglobal_table
=
tables
[
1
],
privatelocal_table
=
tables
[
2
];
//filebased_table = tables[2]
/*
...
...
pd/nw/pdgui.js
View file @
c2eeda56
...
...
@@ -6018,8 +6018,8 @@ function gui_external_dialog(did, external_name, attr_array) {
function
gui_abstractions_dialog
(
cid
,
gfxstub
,
filebased_abs
,
private_abs
)
{
var
attrs
=
{
canvas
:
cid
,
filebased_abs
:
filebased_abs
,
private_abs
:
private_abs
};
dialogwin
[
gfxstub
]
=
create_window
(
gfxstub
,
"
abstractions
"
,
300
,
Math
.
min
(
600
,
(
private_abs
.
length
*
10
+
215
)),
0
,
0
,
attrs
);
dialogwin
[
gfxstub
]
=
create_window
(
gfxstub
,
"
abstractions
"
,
300
,
Math
.
min
(
600
,
(
private_abs
.
length
*
10
+
240
)),
0
,
0
,
attrs
);
}
// Global settings
...
...
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