aboutsummaryrefslogtreecommitdiff
path: root/src/IconBar.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-04-28 16:48:23 (GMT)
committerrathnor <rathnor>2003-04-28 16:48:23 (GMT)
commit41c0ea543c68b54fd4eef78a773d8d8d179963fd (patch)
treead8722243209922cabd0c82d8a6d3f0f55e80d75 /src/IconBar.cc
parent1ce64cab597cd9bb45b29c9a403db908b9cf2cdb (diff)
downloadfluxbox_pavel-41c0ea543c68b54fd4eef78a773d8d8d179963fd.zip
fluxbox_pavel-41c0ea543c68b54fd4eef78a773d8d8d179963fd.tar.bz2
toolbar size + alignment fixes
Diffstat (limited to 'src/IconBar.cc')
-rw-r--r--src/IconBar.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/IconBar.cc b/src/IconBar.cc
index 5de8558..8e28f2a 100644
--- a/src/IconBar.cc
+++ b/src/IconBar.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: IconBar.cc,v 1.31 2003/04/25 10:40:31 fluxgen Exp $ 22// $Id: IconBar.cc,v 1.32 2003/04/28 16:48:22 rathnor Exp $
23 23
24#include "IconBar.hh" 24#include "IconBar.hh"
25 25
@@ -339,8 +339,9 @@ void IconBar::draw(const IconBarObj * const obj, int width) const {
339 if (m_vertical) { 339 if (m_vertical) {
340 int tmp = dy; 340 int tmp = dy;
341 dy = obj->height() - dx; 341 dy = obj->height() - dx;
342 dx = tmp; 342 dx = tmp + bevel_w;
343 } 343 } else
344 dy += bevel_w;
344 345
345 m_font.drawText( 346 m_font.drawText(
346 iconwin, 347 iconwin,