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:
parent
7e76e3c760
commit
a32d58a545
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user