Update the layout of 3drendering a bit.

Butt the capabilities and extensions views right up against
the edges of the tab view. This gives a bit more room for the
columns inside.
This commit is contained in:
John Scipione 2012-04-13 04:48:08 -04:00
parent 7e76e3c760
commit a32d58a545
2 changed files with 4 additions and 6 deletions

View File

@ -35,7 +35,7 @@ CapabilitiesView::CapabilitiesView()
{
// add the columns
float capabilityColWidth = this->StringWidth("M") * 21;
float capabilityColWidth = this->StringWidth("M") * 24;
fCapabilityColumn = new BStringColumn(B_TRANSLATE("Capability"),
capabilityColWidth, capabilityColWidth - 20.0,
@ -102,8 +102,7 @@ CapabilitiesView::CapabilitiesView()
// add the list
AddChild(fCapabilitiesList);
GroupLayout()->SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING);
GroupLayout()->SetInsets(-1, -1, -1, -1);
}

View File

@ -33,7 +33,7 @@ ExtensionsView::ExtensionsView()
{
// add the columns
float availableColWidth = this->StringWidth("M") * 26;
float availableColWidth = this->StringWidth("M") * 28;
fAvailableColumn = new BStringColumn(B_TRANSLATE("Available extensions"),
availableColWidth, availableColWidth, availableColWidth,
@ -50,8 +50,7 @@ ExtensionsView::ExtensionsView()
// add the list
AddChild(fExtensionsList);
GroupLayout()->SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING);
GroupLayout()->SetInsets(-1, -1, -1, -1);
}