Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=45e03eb2b29f04d5ce885509dc5b8d5f3a2fa0e6

commit 45e03eb2b29f04d5ce885509dc5b8d5f3a2fa0e6
Author: James Buren <r...@frugalware.org>
Date:   Mon Feb 18 21:04:01 2013 -0600

in modify partition dialog, fix positioning of listbox

diff --git a/new/src/ui_newt.c b/new/src/ui_newt.c
index 5755aca..138eaad 100644
--- a/new/src/ui_newt.c
+++ b/new/src/ui_newt.c
@@ -403,7 +403,7 @@ static bool ui_dialog_partition_modify_partition(struct 
disk *disk,int n)

entry = newtEntry(label_width+1,textbox_height+1,name,entry_width,&name,0);

-  listbox = newtListbox(0,textbox_height+1,listbox_height,NEWT_FLAG_SCROLL);
+  listbox = 
newtListbox(0,textbox_height+label_height+checkbox_height+3,listbox_height,NEWT_FLAG_SCROLL);

newtListboxSetWidth(listbox,listbox_width);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to