Browse Source

Change size of some buttons

Petra Lamborn 3 years ago
parent
commit
9f2f7d5d77
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      viz/app.R

+ 4
- 3
viz/app.R View File

99
                 div(id="loc2"),
99
                 div(id="loc2"),
100
                     htmlOutput("secondarylochtml"))
100
                     htmlOutput("secondarylochtml"))
101
                 ),
101
                 ),
102
-  absolutePanel(top=10, right=9, id="infobuttoncontainer",
102
+  absolutePanel(top=13, right=13, id="infobuttoncontainer",
103
                 title="Toggle (I)nformation",
103
                 title="Toggle (I)nformation",
104
     prettyToggle("mapinfobutton", 
104
     prettyToggle("mapinfobutton", 
105
                  label_on = NULL,
105
                  label_on = NULL,
108
                  icon_off = icon("info"),
108
                  icon_off = icon("info"),
109
                  animation = "pulse",
109
                  animation = "pulse",
110
                  inline = TRUE,
110
                  inline = TRUE,
111
+                 bigger=TRUE,
111
                  status_on = "danger",
112
                  status_on = "danger",
112
                  status_off = "primary",
113
                  status_off = "primary",
113
                  value = TRUE)
114
                  value = TRUE)
114
   ),
115
   ),
115
-  absolutePanel(top = 40, right = 6, id="control2", title="Toggle pane(L)",
116
+  absolutePanel(top = 45, right = 7, id="control2", title="Toggle pane(L)",
116
                 prettySwitch("controlswitch", value=TRUE, label = NULL,
117
                 prettySwitch("controlswitch", value=TRUE, label = NULL,
117
                              slim = FALSE,
118
                              slim = FALSE,
118
                                inline=TRUE, status="info",
119
                                inline=TRUE, status="info",
119
-                             fill=FALSE, bigger=FALSE)),
120
+                             fill=TRUE, bigger=FALSE)),
120
   absolutePanel(bottom = 26, right = 10, id="loading",
121
   absolutePanel(bottom = 26, right = 10, id="loading",
121
                 p("Loading...")),
122
                 p("Loading...")),
122
   absolutePanel(bottom=26, right=10, left=10, top=10, id="infopanel",
123
   absolutePanel(bottom=26, right=10, left=10, top=10, id="infopanel",