search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Event Bubble Can not config

Asked by Anonymous
10 years ago.

@Html.DayPilotBubble("bubble", new DayPilotBubbleConfig { CssOnly = true, CssClassPrefix = "bubble_default",width=10, backgroundcolor="red" })

this is my code.
I find any property of BayPilotBubble can not be config. I want customization the bubble like bubble size or background
color !
What can I do ?

Answer posted by Dan Letecky [DayPilot]
10 years ago.

You should create custom CSS theme:

CSS
.my_bubble_main {
  cursor: default;
  width: 100px;
}

.my_bubble_main_inner {
  border-radius: 5px;
  font-size: 12px;
  padding: 4px;
  color: #666;
  background: red;
}
MVC View:
@Html.DayPilotBubble("bubble", new DayPilotBubbleConfig { Theme = "my_bubble" })
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.