HaikuDepot: Adjust some hard-coded font sizes.
This commit is contained in:
@@ -741,7 +741,7 @@ public:
|
|||||||
fItemCount(0)
|
fItemCount(0)
|
||||||
{
|
{
|
||||||
BFont font(be_plain_font);
|
BFont font(be_plain_font);
|
||||||
font.SetSize(9.0f);
|
font.SetSize(font.Size() * 0.75f);
|
||||||
SetFont(&font);
|
SetFont(&font);
|
||||||
|
|
||||||
SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
|
SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
|
||||||
@@ -751,7 +751,7 @@ public:
|
|||||||
// constantly calculating the size is expensive so here a sensible
|
// constantly calculating the size is expensive so here a sensible
|
||||||
// upper limit on the number of packages is arbitrarily chosen.
|
// upper limit on the number of packages is arbitrarily chosen.
|
||||||
fMinSize = BSize(StringWidth(_DeriveLabel(999999)) + 10,
|
fMinSize = BSize(StringWidth(_DeriveLabel(999999)) + 10,
|
||||||
B_H_SCROLL_BAR_HEIGHT);
|
be_control_look->GetScrollBarWidth());
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual BSize MinSize()
|
virtual BSize MinSize()
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ UserUsageConditionsWindow::_InitUiControls()
|
|||||||
BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
|
BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
|
||||||
|
|
||||||
BFont versionFont(be_plain_font);
|
BFont versionFont(be_plain_font);
|
||||||
versionFont.SetSize(9.0);
|
versionFont.SetSize(versionFont.Size() * 0.75f);
|
||||||
|
|
||||||
fVersionStringView = new BStringView("version string view",
|
fVersionStringView = new BStringView("version string view",
|
||||||
PLACEHOLDER_TEXT);
|
PLACEHOLDER_TEXT);
|
||||||
|
|||||||
Reference in New Issue
Block a user