2016-08-30 3 views
1

Ich möchte ein AbsolutePanel auf der Oberseite der anderen drei TabPanel in einem DashboardBody beheben. Aber jetzt überlappen die Karten die Box, wie soll ich das machen?Fix eine absolutePanel auf der Oberseite in einem DashboardBody

Beispielcode:

dashbody=dashboardBody(
     tags$style(type="text/css","#mapplot{height: calc(100vh - 80px) !important;"), 
     absolutePanel(top=60,right=10,width=300,draggable=TRUE,box(title="box")) , 
     tabsetPanel(tabPanel("map",leaflet:::leafletOutput("mapplot"),mapview:::plainViewOutput("test"),value=1), 
        tabPanel("plot",value=2), 
        tabPanel("summary",value=3), 
        tabPanel("table",value=4)) 
) 

EDIT: Ich habe es soved durch die absolutePanel und tabsetPanel neu anordnen.

+0

Sie können Ihre eigene Frage beantworten und als Antwort markieren. – zx8754

Antwort

0

Ich habe es geschafft, indem Sie die absolutePanel und tabsetPanel neu anordnen.

Verwandte Themen