Skip to content

Commit

Permalink
* Set minimal widths of side panels
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Daniels committed May 4, 2012
1 parent d847836 commit 6fdec9f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins-client/ext.runpanel/runpanel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
skin = "fm-window"
flex = "1"
optimize = "true"
minwidth = "200"
modal = "false">
<a:bar skin="c9-header-bar" height="26" class="c9-header-divider">
<a:hbox id="barTestTools">
Expand Down
1 change: 1 addition & 0 deletions plugins-client/ext.settings/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
class = "unselectable"
title = "Preferences"
flex = "1"
minwidth = "240"
modal = "false"
model = "{require('ext/settings/settings').model}"
optimize = "true">
Expand Down
2 changes: 2 additions & 0 deletions plugins-client/ext.sidebar/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ module.exports = ext.register("ext/sidebar/sidebar", {
panels.deactivate(null, true);
else if (panels.lastPanel)
panels.activate(panels.lastPanel);
else
navbar.childNodes[1].dispatchEvent("mousedown")
}

this.nodes.push(
Expand Down
1 change: 1 addition & 0 deletions plugins-client/ext.testpanel/testpanel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
title = "Test Panel"
modal = "false"
buttons = "close"
minwidth = "193"
optimize = "true">
<a:bar skin="c9-header-bar" top="-30" right="28" height="30">
<a:hbox id="barTestTools">
Expand Down
1 change: 1 addition & 0 deletions plugins-client/ext.tree/tree.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
title = "Project Files"
modal = "false"
buttons = "close"
minwidth = "130"
optimize = "true">
<a:button
skin="header-btn"
Expand Down

0 comments on commit 6fdec9f

Please sign in to comment.