Tweak layout a bit

This commit is contained in:
QC 2015-03-22 12:56:26 +01:00
parent b36452cc40
commit 7c6699169e
2 changed files with 3 additions and 3 deletions

View file

@ -886,9 +886,9 @@ static void menu_update ( MenuState *state )
if ( config.sidebar_mode == TRUE ) {
XDrawLine ( display, main_window, gc,
( config.padding ),
state->h - state->line_height - ( config.padding ) - 1 - LINE_MARGIN,
state->h - state->line_height - ( config.padding ) - LINE_MARGIN,
state->w - ( ( config.padding ) ) - 1,
state->h - state->line_height - ( config.padding ) - 1 - LINE_MARGIN );
state->h - state->line_height - ( config.padding ) - LINE_MARGIN );
for ( unsigned int j = 0; j < num_switchers; j++ ) {
textbox_draw ( switchers[j].tb );
}

View file

@ -39,7 +39,7 @@
#include "rofi.h"
#include "textbox.h"
#include <glib.h>
#define SIDE_MARGIN 2
#define SIDE_MARGIN 1
extern Display *display;