Sistemi nerden aldın bilmiyorum ama uiscript içerisine attığın dosyada muhtemelen biolog.py gibi birşeydir içerisinde gui oluşturma kodları var oradan ödül kısmını bul boardı genişlet düzelir.19874 eklentisini görüntüle
Arkadaşlar biyolog penceresinde bu yazılar taşmış gibi görünüyor bunu nasıl düzeltebilirim.
BurayıKod:import uiScriptLocale BOARD_WIDTH = 190 BOARD_HEIGHT = 158+15+10 LEFT = 11 window = { "name" : "BiyologWindow", "x" : 0, "y" : 0, "style" : ("movable", "float", "ltr"), "width" : BOARD_WIDTH, "height" : BOARD_HEIGHT+8, "children" : ( { "name" : "board", "type" : "board", "style" : ("attach", "ltr"), "x" : 0, "y" : 0, "width" : BOARD_WIDTH, "height" : BOARD_HEIGHT+5, "children" : ( ## Title { "name" : "TitleBar", "type" : "titlebar", "style" : ("attach",), "x" : 6, "y" : 6, "width" : BOARD_WIDTH-13, "color" : "yellow", "children" : ( { "name":"TitleName", "type":"text", "x":BOARD_WIDTH/2-7, "y":3, "text": "Bonus Seç", "text_horizontal_align":"center" }, ), }, { "name" : "BlackBoard", "type" : "thinboard", "x" : 13, "y" : 32, "width" : BOARD_WIDTH-28, "height" : BOARD_HEIGHT-67, }, { "name" : "AcceptButton", "type" : "button", "text" : uiScriptLocale.OK, "x" : LEFT+52, "y" : BOARD_HEIGHT-28, "default_image" : "d:/ymir work/ui/public/middle_button_01.sub", "over_image" : "d:/ymir work/ui/public/middle_button_02.sub", "down_image" : "d:/ymir work/ui/public/middle_button_03.sub", }, ), }, ), }
{
"name" : "BlackBoard",
"type" : "thinboard",
"x" : 13, "y" : 32, "width" : BOARD_WIDTH-28, "height" : BOARD_HEIGHT-67,
},
{
"name" : "BlackBoard",
"type" : "thinboard",
"x" : 13, "y" : 32, "width" : BOARD_WIDTH-28, "height" : BOARD_HEIGHT-150,
},
Burayı
Python:{ "name" : "BlackBoard", "type" : "thinboard", "x" : 13, "y" : 32, "width" : BOARD_WIDTH-28, "height" : BOARD_HEIGHT-67, },
Bu şekilde değiştirsene bi,
Python:{ "name" : "BlackBoard", "type" : "thinboard", "x" : 13, "y" : 32, "width" : BOARD_WIDTH-28, "height" : BOARD_HEIGHT-150, },
MAIN_WIDTH = 334
MAIN_HEIGHT = 255
PAGE_LEFT_X_DIST = 10
PAGE_RIGHT_X_DIST = 10
PAGE_X_DIST = PAGE_LEFT_X_DIST + PAGE_RIGHT_X_DIST
PAGE_TOP_DIST = 33
PAGE_BOT_DIST = 10
ROOT_PATH = "biolog_manager/"
window = {
"name" : "Uzaktan Biyolog",
"style" : ("movable", "float",),
"x" : 0,
"y" : 0,
"width" : MAIN_WIDTH,
"height" : MAIN_HEIGHT,
"children" :
(
{
"name" : "board",
"type" : "board_with_titlebar",
"x" : 0,
"y" : 0,
"width" : MAIN_WIDTH,
"height" : MAIN_HEIGHT,
"title" : "Uzaktan Biyolog",
"children" :
(
## info
{
"name" : "info_board",
"type" : "thinboard",
"x" : PAGE_LEFT_X_DIST,
"y" : PAGE_TOP_DIST,
"width" : MAIN_WIDTH - PAGE_X_DIST,
"height" : MAIN_HEIGHT - (PAGE_TOP_DIST + PAGE_BOT_DIST),
"children" :
(
{
"name" : "BiologItemInfoMull",
"type" : "image",
"x" : 0,
"y" : PAGE_BOT_DIST / 2,
"horizontal_align" : "center",
"image" : ROOT_PATH + "biolog_title.tga",
"children" :
(
{
"name" : "istveadet",
"type" : "text",
"x" : 0,
"y" : 7,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : " ",
},
),
},
{
"name" : "Boxed",
"type" : "boxed_board",
"x" : 0,
"y" : PAGE_BOT_DIST / 2 + 28,
"width" : 299,
"height" : 170,
"base_color" : 0xFF000000,
"horizontal_align" : "center",
"children" :
(
{
"name" : "itemIcon",
"type" : "slot",
"x" : 15,
"y" : PAGE_BOT_DIST + 32 / 2,
"width" : 32,
"height" : 32,
"image" : "d:/ymir work/ui/public/Slot_Base.sub",
"slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},),
},
{
"name" : "AdditionalBG",
"type" : "image",
"x" : 222 + 10,
"y" : PAGE_BOT_DIST,
"horizontal_align" : "right",
"image" : ROOT_PATH + "biolog_additional_bg.tga",
"children" :
(
{
"name" : "SubmitButton",
"type" : "button",
"x" : 0,
"y" : 7,
"horizontal_align" : "center",
"text" : "Teslim Et!",
"default_image" : ROOT_PATH + "btn_normal.png",
"over_image" : ROOT_PATH + "btn_hover.png",
"down_image" : ROOT_PATH + "btn_down.png",
"disable_image" : ROOT_PATH + "btn_down.png",
},
{
"name" : "BiologAdditionalItems",
"x" : 0,
"y" : 31,
"width" : 222,
"height" : 32,
"children" :
(
{
"name" : "AdditionalCheckbox_0",
"type" : "checkbox",
"x" : 53.5,
"y" : 0,
"vertical_align" : "center",
},
{
"name" : "EkItem_0",
"type" : "slot",
"x" : 76,
"y" : 0,
"width" : 32,
"height" : 32,
"slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},),
},
{
"name" : "AdditionalCheckbox_1",
"type" : "checkbox",
"x" : 122,
"y" : 0,
"vertical_align" : "center",
},
{
"name" : "EkItem_1",
"type" : "slot",
"x" : 144,
"y" : 0,
"width" : 32,
"height" : 32,
"slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},),
},
),
},
),
},
{
"name" : "TimeBG",
"type" : "image",
"x" : 0,
"y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2,
"horizontal_align" : "center",
"image" : ROOT_PATH + "biolog_time_bg.tga",
"children" :
(
{
"name" : "BiologCooldownInfo",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : True,
"text" : "You can submit the next item!",
},
{
"name" : "CheckBoxReminder",
"type" : "checkbox",
"x" : 235,
"y" : 0,
"vertical_align" : "center",
},
{
"name" : "CooldownImage",
"type" : "image",
"x" : 255,
"y" : 0,
"vertical_align" : "center",
"image" : ROOT_PATH + "clock.png",
},
),
},
{
"name" : "BiologRewardTitle",
"type" : "image",
"x" : 0,
"y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2 + 38,
"horizontal_align" : "center",
"image" : ROOT_PATH + "biolog_title.tga",
"children" :
(
{
"name" : "BiologRewardTitle",
"type" : "text",
"x" : 0,
"y" : 7,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Odul",
},
),
},
{
"name" : "BiologRewardMull",
"x" : 0,
"y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2 + 38 + 29,
"width" : 299,
"height" : 30,
"children" :
(
{
"name" : "odulOzellik_0",
"type" : "text",
"x" : 0,
"y" : 4,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_1",
"type" : "text",
"x" : 0,
"y" : 8,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_2",
"type" : "text",
"x" : 0,
"y" : 12,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_3",
"type" : "text",
"x" : 0,
"y" : 16,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
),
},
),
},
# {
# "name" : "istveadet",
# "type" : "text",
# "x" : 75,
# "y" : 50,
# "text" : " ",
# },
# {
# "name" : "AdditionalCheckbox_0",
# "type" : "checkbox_biolog",
# "x" : 53.5,
# "y" : 0,
# "vertical_align" : "center",
# },
# {
# "name" : "EkItem_0",
# "type" : "slot",
# "x" : 76,
# "y" : 0,
# "width" : 32,
# "height" : 32,
# "slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},),
# },
# {
# "name" : "AdditionalCheckbox_1",
# "type" : "checkbox_biolog",
# "x" : 122,
# "y" : 0,
# "vertical_align" : "center",
# },
# {
# "name" : "EkItem_1",
# "type" : "slot",
# "x" : 144,
# "y" : 0,
# "width" : 32,
# "height" : 32,
# "slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},),
# },
# {
# "name" : "AdditionalCheckbox_0",
# "type" : "checkbox",
# "x" : 53.5,
# "y" : 0,
# "vertical_align" : "center",
# },
# {
# "name" : "odulOzellik",
# "type" : "text",
# "x" : 0,
# "y" : 4,
# "horizontal_align" : "center",
# "text_horizontal_align" : "center",
# "text" : "Reward",
# },
),
},
),
},
),
}
tamam doğrusu bu bende diyorum bu değil ama dur bakalım.Kod:MAIN_WIDTH = 334 MAIN_HEIGHT = 255 PAGE_LEFT_X_DIST = 10 PAGE_RIGHT_X_DIST = 10 PAGE_X_DIST = PAGE_LEFT_X_DIST + PAGE_RIGHT_X_DIST PAGE_TOP_DIST = 33 PAGE_BOT_DIST = 10 ROOT_PATH = "biolog_manager/" window = { "name" : "Uzaktan Biyolog", "style" : ("movable", "float",), "x" : 0, "y" : 0, "width" : MAIN_WIDTH, "height" : MAIN_HEIGHT, "children" : ( { "name" : "board", "type" : "board_with_titlebar", "x" : 0, "y" : 0, "width" : MAIN_WIDTH, "height" : MAIN_HEIGHT, "title" : "Uzaktan Biyolog", "children" : ( ## info { "name" : "info_board", "type" : "thinboard", "x" : PAGE_LEFT_X_DIST, "y" : PAGE_TOP_DIST, "width" : MAIN_WIDTH - PAGE_X_DIST, "height" : MAIN_HEIGHT - (PAGE_TOP_DIST + PAGE_BOT_DIST), "children" : ( { "name" : "BiologItemInfoMull", "type" : "image", "x" : 0, "y" : PAGE_BOT_DIST / 2, "horizontal_align" : "center", "image" : ROOT_PATH + "biolog_title.tga", "children" : ( { "name" : "istveadet", "type" : "text", "x" : 0, "y" : 7, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : " ", }, ), }, { "name" : "Boxed", "type" : "boxed_board", "x" : 0, "y" : PAGE_BOT_DIST / 2 + 28, "width" : 299, "height" : 170, "base_color" : 0xFF000000, "horizontal_align" : "center", "children" : ( { "name" : "itemIcon", "type" : "slot", "x" : 15, "y" : PAGE_BOT_DIST + 32 / 2, "width" : 32, "height" : 32, "image" : "d:/ymir work/ui/public/Slot_Base.sub", "slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},), }, { "name" : "AdditionalBG", "type" : "image", "x" : 222 + 10, "y" : PAGE_BOT_DIST, "horizontal_align" : "right", "image" : ROOT_PATH + "biolog_additional_bg.tga", "children" : ( { "name" : "SubmitButton", "type" : "button", "x" : 0, "y" : 7, "horizontal_align" : "center", "text" : "Teslim Et!", "default_image" : ROOT_PATH + "btn_normal.png", "over_image" : ROOT_PATH + "btn_hover.png", "down_image" : ROOT_PATH + "btn_down.png", "disable_image" : ROOT_PATH + "btn_down.png", }, { "name" : "BiologAdditionalItems", "x" : 0, "y" : 31, "width" : 222, "height" : 32, "children" : ( { "name" : "AdditionalCheckbox_0", "type" : "checkbox", "x" : 53.5, "y" : 0, "vertical_align" : "center", }, { "name" : "EkItem_0", "type" : "slot", "x" : 76, "y" : 0, "width" : 32, "height" : 32, "slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},), }, { "name" : "AdditionalCheckbox_1", "type" : "checkbox", "x" : 122, "y" : 0, "vertical_align" : "center", }, { "name" : "EkItem_1", "type" : "slot", "x" : 144, "y" : 0, "width" : 32, "height" : 32, "slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},), }, ), }, ), }, { "name" : "TimeBG", "type" : "image", "x" : 0, "y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2, "horizontal_align" : "center", "image" : ROOT_PATH + "biolog_time_bg.tga", "children" : ( { "name" : "BiologCooldownInfo", "type" : "text", "x" : 0, "y" : 0, "all_align" : True, "text" : "You can submit the next item!", }, { "name" : "CheckBoxReminder", "type" : "checkbox", "x" : 235, "y" : 0, "vertical_align" : "center", }, { "name" : "CooldownImage", "type" : "image", "x" : 255, "y" : 0, "vertical_align" : "center", "image" : ROOT_PATH + "clock.png", }, ), }, { "name" : "BiologRewardTitle", "type" : "image", "x" : 0, "y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2 + 38, "horizontal_align" : "center", "image" : ROOT_PATH + "biolog_title.tga", "children" : ( { "name" : "BiologRewardTitle", "type" : "text", "x" : 0, "y" : 7, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Odul", }, ), }, { "name" : "BiologRewardMull", "x" : 0, "y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2 + 38 + 29, "width" : 299, "height" : 30, "children" : ( { "name" : "odulOzellik_0", "type" : "text", "x" : 0, "y" : 4, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Reward", }, { "name" : "odulOzellik_1", "type" : "text", "x" : 0, "y" : 8, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Reward", }, { "name" : "odulOzellik_2", "type" : "text", "x" : 0, "y" : 12, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Reward", }, { "name" : "odulOzellik_3", "type" : "text", "x" : 0, "y" : 16, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Reward", }, ), }, ), }, # { # "name" : "istveadet", # "type" : "text", # "x" : 75, # "y" : 50, # "text" : " ", # }, # { # "name" : "AdditionalCheckbox_0", # "type" : "checkbox_biolog", # "x" : 53.5, # "y" : 0, # "vertical_align" : "center", # }, # { # "name" : "EkItem_0", # "type" : "slot", # "x" : 76, # "y" : 0, # "width" : 32, # "height" : 32, # "slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},), # }, # { # "name" : "AdditionalCheckbox_1", # "type" : "checkbox_biolog", # "x" : 122, # "y" : 0, # "vertical_align" : "center", # }, # { # "name" : "EkItem_1", # "type" : "slot", # "x" : 144, # "y" : 0, # "width" : 32, # "height" : 32, # "slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},), # }, # { # "name" : "AdditionalCheckbox_0", # "type" : "checkbox", # "x" : 53.5, # "y" : 0, # "vertical_align" : "center", # }, # { # "name" : "odulOzellik", # "type" : "text", # "x" : 0, # "y" : 4, # "horizontal_align" : "center", # "text_horizontal_align" : "center", # "text" : "Reward", # }, ), }, ), }, ), }
2 adet biyolog dosyası var birinde attığım kodlar bundada böyle birşey yazıyor
{
"name" : "BiologRewardMull",
"x" : 0,
"y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2 + 38 + 29,
"width" : 299,
"height" : 30,
"children" :
(
{
"name" : "odulOzellik_0",
"type" : "text",
"x" : 0,
"y" : 4,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_1",
"type" : "text",
"x" : 0,
"y" : 8,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_2",
"type" : "text",
"x" : 0,
"y" : 12,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_3",
"type" : "text",
"x" : 0,
"y" : 16,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
),
"width" : 299,
"height" : 30,
Bununla daha önce oynadım birşey değişmiyortamam doğrusu bu bende diyorum bu değil ama dur bakalım.
Python:{ "name" : "BiologRewardMull", "x" : 0, "y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2 + 38 + 29, "width" : 299, "height" : 30, "children" : ( { "name" : "odulOzellik_0", "type" : "text", "x" : 0, "y" : 4, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Reward", }, { "name" : "odulOzellik_1", "type" : "text", "x" : 0, "y" : 8, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Reward", }, { "name" : "odulOzellik_2", "type" : "text", "x" : 0, "y" : 12, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Reward", }, { "name" : "odulOzellik_3", "type" : "text", "x" : 0, "y" : 16, "horizontal_align" : "center", "text_horizontal_align" : "center", "text" : "Reward", }, ),
O özellik satırı burası, gördüğün gibi height yani yükseklik 30 olarak belirtilmiş. Onu değiştirerek oranla işte mesela 100 150 arası bişey uygun olur herhalde.
Python:"width" : 299, "height" : 30,
Şuradan bahsediyorum. width genişlik, height yükseklik.
merhaba, ilgili dosyaları konuya dahil eder misin?Bununla daha önce oynadım birşey değişmiyor
Bununla daha önce oynadım birşey değişmiyor
{
"name" : "Boxed",
"type" : "boxed_board",
"x" : 0,
"y" : PAGE_BOT_DIST / 2 + 28,
"width" : 299,
"height" : 170,
"base_color" : 0xFF000000,
"horizontal_align" : "center",
"children" :
(
{
"name" : "itemIcon",
"type" : "slot",
"x" : 15,
"y" : PAGE_BOT_DIST + 32 / 2,
"width" : 32,
"height" : 32,
"image" : "d:/ymir work/ui/public/Slot_Base.sub",
"slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},),
},
{
"name" : "AdditionalBG",
"type" : "image",
"x" : 222 + 10,
"y" : PAGE_BOT_DIST,
"horizontal_align" : "right",
"image" : ROOT_PATH + "biolog_additional_bg.tga",
"children" :
(
{
"name" : "SubmitButton",
"type" : "button",
"x" : 0,
"y" : 7,
"horizontal_align" : "center",
"text" : "Teslim Et!",
"default_image" : ROOT_PATH + "btn_normal.png",
"over_image" : ROOT_PATH + "btn_hover.png",
"down_image" : ROOT_PATH + "btn_down.png",
"disable_image" : ROOT_PATH + "btn_down.png",
},
{
"name" : "BiologAdditionalItems",
"x" : 0,
"y" : 31,
"width" : 222,
"height" : 32,
"children" :
(
{
"name" : "AdditionalCheckbox_0",
"type" : "checkbox",
"x" : 53.5,
"y" : 0,
"vertical_align" : "center",
},
{
"name" : "EkItem_0",
"type" : "slot",
"x" : 76,
"y" : 0,
"width" : 32,
"height" : 32,
"slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},),
},
{
"name" : "AdditionalCheckbox_1",
"type" : "checkbox",
"x" : 122,
"y" : 0,
"vertical_align" : "center",
},
{
"name" : "EkItem_1",
"type" : "slot",
"x" : 144,
"y" : 0,
"width" : 32,
"height" : 32,
"slot" : ({"index":0, "x":0, "y":0, "width":32, "height":32},),
},
),
},
),
},
{
"name" : "TimeBG",
"type" : "image",
"x" : 0,
"y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2,
"horizontal_align" : "center",
"image" : ROOT_PATH + "biolog_time_bg.tga",
"children" :
(
{
"name" : "BiologCooldownInfo",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : True,
"text" : "You can submit the next item!",
},
{
"name" : "CheckBoxReminder",
"type" : "checkbox",
"x" : 235,
"y" : 0,
"vertical_align" : "center",
},
{
"name" : "CooldownImage",
"type" : "image",
"x" : 255,
"y" : 0,
"vertical_align" : "center",
"image" : ROOT_PATH + "clock.png",
},
),
},
{
"name" : "BiologRewardTitle",
"type" : "image",
"x" : 0,
"y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2 + 38,
"horizontal_align" : "center",
"image" : ROOT_PATH + "biolog_title.tga",
"children" :
(
{
"name" : "BiologRewardTitle",
"type" : "text",
"x" : 0,
"y" : 7,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Odul",
},
),
},
{
"name" : "BiologRewardMull",
"x" : 0,
"y" : PAGE_BOT_DIST + 63 + PAGE_BOT_DIST / 2 + 38 + 29,
"width" : 299,
"height" : 30,
"children" :
(
{
"name" : "odulOzellik_0",
"type" : "text",
"x" : 0,
"y" : 4,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_1",
"type" : "text",
"x" : 0,
"y" : 8,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_2",
"type" : "text",
"x" : 0,
"y" : 12,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
{
"name" : "odulOzellik_3",
"type" : "text",
"x" : 0,
"y" : 16,
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"text" : "Reward",
},
),
},
),
},