improves font sensitiveness
code style cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18105 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -49,9 +49,11 @@ PasswordWindow::_Setup()
|
|||||||
topView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
topView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
||||||
AddChild(topView);
|
AddChild(topView);
|
||||||
|
|
||||||
fUseNetwork=new BRadioButton(BRect(14,10,159,20),"useNetwork","Use Network password",new BMessage(kMsgPasswordTypeChanged),B_FOLLOW_NONE);
|
fUseNetwork = new BRadioButton(BRect(14,10,62+be_plain_font->StringWidth("Use Network password"),20), "useNetwork",
|
||||||
|
"Use Network password", new BMessage(kMsgPasswordTypeChanged), B_FOLLOW_NONE);
|
||||||
topView->AddChild(fUseNetwork);
|
topView->AddChild(fUseNetwork);
|
||||||
fUseCustom=new BRadioButton(BRect(30,50,130,60),"fUseCustom","Use custom password",new BMessage(kMsgPasswordTypeChanged),B_FOLLOW_NONE);
|
fUseCustom = new BRadioButton(BRect(30,50,36+be_plain_font->StringWidth("Use custom password"),60), "fUseCustom",
|
||||||
|
"Use custom password", new BMessage(kMsgPasswordTypeChanged), B_FOLLOW_NONE);
|
||||||
|
|
||||||
BBox *customBox = new BBox(BRect(9,30,269,105), "custBeBox", B_FOLLOW_NONE);
|
BBox *customBox = new BBox(BRect(9,30,269,105), "custBeBox", B_FOLLOW_NONE);
|
||||||
customBox->SetLabel(fUseCustom);
|
customBox->SetLabel(fUseCustom);
|
||||||
|
|||||||
Reference in New Issue
Block a user