diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2014-08-23 01:48:21 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2014-08-23 01:48:21 +0200 |
commit | b49586a6f80dba1502da45272b631e15bb162a52 (patch) | |
tree | f86ea4c763b95b1b290479062252bb6d7b5a07b1 /inst | |
parent | a4da0546933ab2d9633c33277de3597db8d9d3ed (diff) |
Increase the width for the list of target compartments
Diffstat (limited to 'inst')
-rw-r--r-- | inst/GUI/gmkin.R | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inst/GUI/gmkin.R b/inst/GUI/gmkin.R index 5473c58..a582a8a 100644 --- a/inst/GUI/gmkin.R +++ b/inst/GUI/gmkin.R @@ -556,7 +556,7 @@ add_observed_handler <- function(h, ...) { cont = m.e.rows[[obs.i]])
svalue(m.e.type[[obs.i]]) <- "SFO"
glabel("to", cont = m.e.rows[[obs.i]])
- m.e.to[[obs.i]] <<- gedit("", cont = m.e.rows[[obs.i]])
+ m.e.to[[obs.i]] <<- gedit("", width = 40, cont = m.e.rows[[obs.i]])
m.e.sink[[obs.i]] <<- gcheckbox("Path to sink",
checked = TRUE, cont = m.e.rows[[obs.i]])
gbutton("Remove compound", handler = remove_compound_handler,
@@ -621,7 +621,7 @@ show_m_spec <- function() { glabel("to", cont = m.e.rows[[obs.i]])
obs.to <<- ifelse(is.null(m[[m.cur]]$spec[[obs.i]]$to), "",
paste(m[[m.cur]]$spec[[obs.i]]$to, collapse = ", "))
- m.e.to[[obs.i]] <<- gedit(obs.to, cont = m.e.rows[[obs.i]])
+ m.e.to[[obs.i]] <<- gedit(obs.to, width = 40, cont = m.e.rows[[obs.i]])
m.e.sink[[obs.i]] <<- gcheckbox("Path to sink", checked = m[[m.cur]]$spec[[obs.i]]$sink,
cont = m.e.rows[[obs.i]])
if (obs.i > 1) {
|