"(bool is_bjs) {",
"",
"",
- "\tif (_this.project.xtype != \"Roo\") {",
- "\t \tis_bjs = false;",
- " \t}",
+ "\t ",
"\t_this.grid.showAllRows();",
"",
"\tswitch(_this.project.xtype) {",
"\t\t\t_this.grid.hideRow(5);\t",
"\t\t\t_this.grid.hideRow(6);\t",
"\t\t // hide 2,3,4,5,6,",
+ "\t\t if (_this.file.name.length > 0) {",
+ "\t\t \t_this.grid.hideRow(8); // directory - cant change it here..",
+ "\t \t}",
+ "\t\t ",
"\t\t\tbreak;",
"\t}",
" ",
"",
" int w,h;",
" this.mainwindow.el.get_size(out w, out h);",
- " this.el.set_size_request( 550, 300);",
+ " this.el.set_size_request( 550, 100); // should expand height, but give a min width.",
"",
" ",
" ",
int w,h;
this.mainwindow.el.get_size(out w, out h);
- this.el.set_size_request( 550, 300);
+ this.el.set_size_request( 550, 100); // should expand height, but give a min width.
public void showhide (bool is_bjs) {
- if (_this.project.xtype != "Roo") {
- is_bjs = false;
- }
+
_this.grid.showAllRows();
switch(_this.project.xtype) {
_this.grid.hideRow(5);
_this.grid.hideRow(6);
// hide 2,3,4,5,6,
+ if (_this.file.name.length > 0) {
+ _this.grid.hideRow(8); // directory - cant change it here..
+ }
+
break;
}