You need to override the getCSS method. You may use the below code and css.
@Override
protected ResourceReference getCSS() {
return new ResourceReference(Palette.class, "RelistPalette.css");
}
table.palette {
border: 0;
}
table.palette td.header {
text-align: center;
font-weight: bold;
font-size: 9pt;
background-color: #eef7ff;
padding: 2px;
border-top: 1px solid #729ac2;
border-bottom: 1px solid #729ac2;
}
table.palette td.pane {
width: 200px;
text-align: center;
}
table.palette td.pane select {
width: 200px;
}
table.palette td.buttons {
text-align: center;
padding-left: 10px;
padding-right: 10px;
}
table.palette td.buttons button {
width: 40px;
height: 40px;
}
select::-moz-dummy-option {
visibility: hidden;
content: "";
}
----- Original Message -----
From: "rasheed" <rachid...@gmail.com>
To: <users@wicket.apache.org>
Sent: Tuesday, August 10, 2010 6:38 PM
Subject: scroll bar for palette
hello,
is there a way to show scroll bar in wicket palette?
i've tried this css but doesn't work :
<style> table.palette td.pane select { width:400px !important; scroll:
auto
!important; } </style>
help plz
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/scroll-bar-for-palette-tp2320164p2320164.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org