Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
79637e65
Commit
79637e65
authored
Jan 27, 2016
by
eric pellegrini
Browse files
The size of QVectors plugin is now bigger
Replaced the 'generate' button on the bottom of the panel
parent
2ba36351
Changes
1
Hide whitespace changes
Inline
Side-by-side
MDANSE/Framework/Plugins/QVectorsPlugin.py
View file @
79637e65
...
...
@@ -179,7 +179,6 @@ class QVectorsPlugin(UserDefinitionPlugin):
self
.
_availableGenerators
=
wx
.
Choice
(
self
.
_mainPanel
,
wx
.
ID_ANY
)
generateButton
=
wx
.
Button
(
self
.
_mainPanel
,
wx
.
ID_ANY
,
label
=
"Generate"
)
sbSizer1
.
Add
(
self
.
_availableGenerators
,
1
,
wx
.
ALL
|
wx
.
EXPAND
,
5
)
sbSizer1
.
Add
(
generateButton
,
1
,
wx
.
ALL
|
wx
.
EXPAND
,
5
)
sizer
.
Add
(
sbSizer1
,
0
,
wx
.
ALL
|
wx
.
EXPAND
,
5
)
# Widgets and sizers related to parameters section
...
...
@@ -191,6 +190,8 @@ class QVectorsPlugin(UserDefinitionPlugin):
sizer
.
Add
(
self
.
_notebook
,
3
,
wx
.
ALL
|
wx
.
EXPAND
,
5
)
sizer
.
Add
(
generateButton
,
0
,
wx
.
ALL
|
wx
.
EXPAND
,
5
)
self
.
_mainPanel
.
SetSizer
(
sizer
)
self
.
_mgr
.
AddPane
(
self
.
_mainPanel
,
wxaui
.
AuiPaneInfo
().
DestroyOnClose
().
Center
().
Dock
().
CaptionVisible
(
False
).
CloseButton
(
False
).
BestSize
(
self
.
GetSize
()))
...
...
@@ -202,7 +203,7 @@ class QVectorsPlugin(UserDefinitionPlugin):
def
plug
(
self
):
self
.
parent
.
mgr
.
GetPane
(
self
).
Float
().
Dockable
(
False
).
CloseButton
(
True
).
BestSize
((
600
,
6
00
))
self
.
parent
.
mgr
.
GetPane
(
self
).
Float
().
Dockable
(
False
).
CloseButton
(
True
).
BestSize
((
600
,
8
00
))
self
.
parent
.
mgr
.
Update
()
...
...
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