mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 08:37:17 +00:00
Tweak layout a bit
This commit is contained in:
parent
b36452cc40
commit
7c6699169e
2 changed files with 3 additions and 3 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "rofi.h"
|
||||
#include "textbox.h"
|
||||
#include <glib.h>
|
||||
#define SIDE_MARGIN 2
|
||||
#define SIDE_MARGIN 1
|
||||
|
||||
extern Display *display;
|
||||
|
||||
|
|
Loading…
Reference in a new issue