ui: use dijit.Toolbar

This commit is contained in:
Andrew Dolgov 2010-11-17 14:04:22 +03:00
parent a17d721902
commit f8ce21fc72
3 changed files with 7 additions and 2 deletions

View File

@ -929,7 +929,7 @@ html, body#ttrssPrefs, #main {
#toolbar div.actionChooser { #toolbar div.actionChooser {
display : table-cell; display : table-cell;
text-align : right; text-align : right;
padding-right : 5px; padding-right : 3px;
} }
/* preferences layout */ /* preferences layout */
@ -1478,7 +1478,7 @@ div.fatalError textarea {
} }
#toolbar { #toolbar {
padding : 5px 0px 0px 5px; padding : 0px;
margin : 0px; margin : 0px;
border-width : 0px; border-width : 0px;
white-space: nowrap; white-space: nowrap;

View File

@ -280,6 +280,7 @@ function init() {
dojo.require("dojo.data.ItemFileWriteStore"); dojo.require("dojo.data.ItemFileWriteStore");
dojo.require("dijit.Tree"); dojo.require("dijit.Tree");
dojo.require("dijit.form.Select"); dojo.require("dijit.form.Select");
dojo.require("dijit.Toolbar");
dojo.require("dojo.parser"); dojo.require("dojo.parser");
if (typeof themeBeforeLayout == 'function') { if (typeof themeBeforeLayout == 'function') {

View File

@ -129,6 +129,8 @@
<div id="toolbar" dojoType="dijit.layout.ContentPane" region="top"> <div id="toolbar" dojoType="dijit.layout.ContentPane" region="top">
<div id="main-toolbar" dojoType="dijit.Toolbar">
<form id="main_toolbar_form" action="" onsubmit='return false'> <form id="main_toolbar_form" action="" onsubmit='return false'>
<button id="collapse_feeds_btn" onclick="collapse_feedlist()" <button id="collapse_feeds_btn" onclick="collapse_feedlist()"
@ -188,6 +190,8 @@
</select> </select>
</div> </div>
</div>
</div> </div>
<div id="headlines-wrap-inner" dojoType="dijit.layout.BorderContainer" region="center"> <div id="headlines-wrap-inner" dojoType="dijit.layout.BorderContainer" region="center">