1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-07-31 21:59:25 -04:00

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 ) { if ( config.sidebar_mode == TRUE ) {
XDrawLine ( display, main_window, gc, XDrawLine ( display, main_window, gc,
( config.padding ), ( 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->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++ ) { for ( unsigned int j = 0; j < num_switchers; j++ ) {
textbox_draw ( switchers[j].tb ); textbox_draw ( switchers[j].tb );
} }

View file

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