Hard-code width of calendar popup to 600px and fix ellipsis for events

We might want the width to be expressed in em or in % of the available
monitor width. Or perhaps a combination of all three. I don't know.

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2011-01-26 14:34:13 -05:00
parent a922db0398
commit 858e1b7f5b
2 changed files with 6 additions and 3 deletions

View File

@ -674,6 +674,11 @@ StTooltip StLabel {
/* Calendar popup */
#calendarArea {
/* this is the width of the entire popup */
width: 600px;
}
.calendar-vertical-separator {
-stipple-width: 1px;
-stipple-color: #505050;
@ -810,7 +815,6 @@ StTooltip StLabel {
.events-header-vbox {
spacing: 10px;
width: 300px;
}
.events-header {
@ -854,7 +858,6 @@ StTooltip StLabel {
}
.events-event-box {
width: 200px;
}
.open-calendar {

View File

@ -65,7 +65,7 @@ DateMenuButton.prototype = {
this._clock = new St.Label();
this.actor.set_child(this._clock);
hbox = new St.BoxLayout();
hbox = new St.BoxLayout({name: 'calendarArea'});
this.menu.addActor(hbox);
// Fill up the first column