Skip to content

Commit 2d1b9b5

Browse files
committed
spacing in mcmc control options
1 parent dee9b8b commit 2d1b9b5

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

ui.R

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -852,26 +852,27 @@ url = {http://statnetproject.org}
852852
),
853853
conditionalPanel(condition="input.controltype == 'MCMC'", class="shiftright",
854854
fluidRow(
855-
div(class="tool", span(class="tip","Number of proposals between sampled statistics.",
855+
column(4,class="tool", span(class="tip","Number of proposals between sampled statistics.",
856856
img(src="callout2.png",class="callout")),
857857
span("Interval:"),
858858
customNumericInput('MCMCinterval',label=NULL, value=1024, class="mcmcopt input-mini")),
859859

860-
div(class="tool",span(class="tip","Number of proposals before any MCMC sampling is done. Defaults to 16 times the MCMC interval, unless burn-in is specified after the interval.",
860+
column(4,class="tool",span(class="tip","Number of proposals before any MCMC sampling is done. Defaults to 16 times the MCMC interval, unless burn-in is specified after the interval.",
861861
img(src="callout2.png",class="callout")),
862862
span("Burn-in:"),
863863
customNumericInput('MCMCburnin', label=NULL, value=16384, class="mcmcopt input-mini")),
864864

865-
div(class="tool",span(class="tip","Number of network statistics, randomly drawn from a given distribution on the set of all networks, returned by the Metropolis-Hastings algorithm.",
865+
column(4,class="tool",span(class="tip","Number of network statistics, randomly drawn from a given distribution on the set of all networks, returned by the Metropolis-Hastings algorithm.",
866866
img(src="callout2.png",class="callout")),
867867
span("Sample size:"),
868868
customNumericInput('MCMCsamplesize', label=NULL, value=1024, class="input-mini mcmcopt"))
869869
),
870870

871871
fluidRow(
872872
div(class="tool",span(class ="tip", id="controltip",
873-
"Type in other arguments to be passed to", span("control.ergm", style="font-family:Courier;"),
874-
", e.g.", span("MCMC.burnin.retries=1", style="font-family:Courier;"),
873+
"Type in other arguments to be passed to",
874+
span("control.ergm,", style="font-family:Courier;"),
875+
"e.g.", span("MCMC.burnin.retries=1", style="font-family:Courier;"),
875876
img(src="callout2.png",class="callout")),
876877
span("Other controls:"),
877878
textInput("customMCMCcontrol",label=NULL,value=""))
@@ -881,6 +882,7 @@ url = {http://statnetproject.org}
881882
)))
882883
)
883884
),
885+
br(),
884886
fluidRow(
885887
column(2,
886888
p('Current ergm formula:')),

www/alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ $(document).ready(function(){
136136
});
137137
} else {
138138
$("#termdocbox").css({
139-
"max-height":"65px"
139+
"max-height":"95px"
140140
});
141141
}
142142

www/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ div.form-group.shiny-input-container {
254254
margin-left:2px;
255255
}
256256
div.placeholder {
257-
height:110px;
257+
height:150px;
258258
position:relative;
259259
}
260260
#termdoc {
@@ -266,7 +266,7 @@ div.placeholder {
266266
right:0px;
267267
left:5px;
268268
margin-right:10px;
269-
max-height:65px;
269+
max-height:95px;
270270
border: 1px solid #CECED8;
271271
border-radius: 5px;
272272
overflow:scroll;

0 commit comments

Comments
 (0)